I occasionally write code something like this:
// file1.cpp #define DO_THIS 1 #if DO_THIS // stuff #endif
During the code development I ma
The compiler didn't generate a warning because this is a preprocessor directive. It's evaluated and resolved before the compiler sees it.