Pointers, casting, SetGetWindowLong problem...

Kristian Kilpi kjkilpi at gmail.com
Sat Mar 10 03:39:00 PST 2007


On Sat, 10 Mar 2007 03:06:46 +0200, Bradley Smith  
<digitalmars-com at baysmith.com> wrote:

> Bill Baxter wrote:
>> This is definitely an F.A.Q.
>> Is there a D Programming FAQ anywhere?
>> 'Why does "if (someobject == null)" keep crashing?' would definitely be  
>> there.
>> What else?
>>  --bb
>
> 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?)


More information about the Digitalmars-d-learn mailing list