Re: Compiler error or? Microsoft VC++ v6.0
From: Ron Natalie (ron_at_sensor.com)
Date: 02/17/04
- Next message: Torstein Hansen: "Re: Compiler error or? Microsoft VC++ v6.0"
- Previous message: Morten Aune Lyrstad: "Re: warning LNK4098... how to avoid it when making a static lib?"
- In reply to: Torstein Hansen: "Re: Compiler error or? Microsoft VC++ v6.0"
- Next in thread: Torstein Hansen: "Re: Compiler error or? Microsoft VC++ v6.0"
- Reply: Torstein Hansen: "Re: Compiler error or? Microsoft VC++ v6.0"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 17 Feb 2004 16:11:01 -0500
"Torstein Hansen" <torsteinRemoveThis@hansen.as> wrote in message news:kpvYb.464$72.135468032@news.telia.no...
> But in this code it's not the literal 0, rather
> const unsigned long u0 = 0
>
That's good enough. The rule says that a null pointer constant is a integer
constant expression evaluating to zero. A const variable initialized with a
constant qualifies as a constant expression.
- Next message: Torstein Hansen: "Re: Compiler error or? Microsoft VC++ v6.0"
- Previous message: Morten Aune Lyrstad: "Re: warning LNK4098... how to avoid it when making a static lib?"
- In reply to: Torstein Hansen: "Re: Compiler error or? Microsoft VC++ v6.0"
- Next in thread: Torstein Hansen: "Re: Compiler error or? Microsoft VC++ v6.0"
- Reply: Torstein Hansen: "Re: Compiler error or? Microsoft VC++ v6.0"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|