Let's say I have the following CPP file which include some header file:

/** test.cpp **/
#include "hello.h"


/** hello.h **/
#ifdef HELLO_THERE
#include "someotherfile.h"
#endif

Assuming I'm building the test.cpp file only with the compiler flag
-DHELLO_THERE, how come in "hello.h", it's not even aware of
HELLO_THERE.  That is, it skips the #ifdef HELLO_THERE.

Any help please?

Thanks Thierry

_______________________________________________
Help-gplusplus mailing list
Help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to