Pointers, casting, SetGetWindowLong problem...

Kristian Kilpi kjkilpi at gmail.com
Sun Mar 11 12:03:32 PDT 2007


On Sat, 10 Mar 2007 22:58:02 +0200, Bradley Smith  
<digitalmars-com at baysmith.com> wrote:

> Kristian Kilpi wrote:
>> On Sat, 10 Mar 2007 03:06:46 +0200, Bradley Smith  
>> <digitalmars-com at baysmith.com> wrote:
>  >
>>> I've started recording "surprises" like these on a Web page here:  
>>> http://www.baysmith.com/d/
>>>
>>>    Bradley
>>   The comment of the following line:
>>    ContainsResource res1; //  Error: variable scope.main.res1 reference  
>> to auto class must be auto
>>  uses the 'auto' keyword instead of 'scope'.
>>  (Or is the error message of the compiler out of date?)
>
>
> Perhaps, but the above is the error message from DMD v1.007.

Ok, when the 'auto' keyword was changed to 'scope', the error message
(at least this one) wasn't updated. I wonder if Walter knows about it.



More information about the Digitalmars-d-learn mailing list