Boost logo

Boost :

Subject: Re: [boost] mkl+boost problems
From: John Bytheway (jbytheway+boost_at_[hidden])
Date: 2010-11-09 17:50:04


On 09/11/10 21:16, Kevin Heifner wrote:
> On 11/9/2010 2:40 PM, John B. Turpish wrote:
>> I was under the impression that
>> #undef NEVER_WAS_DEFINED
>> was completely harmless, kind of like
>> delete NULL;
>
> MSDN agrees with you and so does my preprocessor reference. Hmm, I
> wonder why I've been in the habit of wrapping them in #ifdef.
>
> Sorry for the noise.

Some compilers warn about undefining not-defined things. e.g. gcc when
-Wundef is specified (which I do).

John Bytheway


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk