Pointers, casting, SetGetWindowLong problem...

Bradley Smith digitalmars-com at baysmith.com
Sat Mar 10 12:58:02 PST 2007


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.


More information about the Digitalmars-d-learn mailing list