
9 Nov
2010
9 Nov
'10
10:50 p.m.
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