tb2000
2005-07-29 22:39:03 UTC
Just trying to get a handle on porting some libs to CE I woudl like to be
able to have #pragma message print out compiler directives like _MSC_VER or
UNDER_CE or (would be best) be able to dump any of those constants or
settings when invoking the compiler, just to check and debug the compile
environment.
Does anybody have an idea / suggestions?
I tried #pragma message ("and:" _MSC_VER ":")
but I am getting
C:\test\try1\testheader.h(6) : warning C4081: expected ')'; found 'constant'
from the compiler.
Thanks from a newbie!
able to have #pragma message print out compiler directives like _MSC_VER or
UNDER_CE or (would be best) be able to dump any of those constants or
settings when invoking the compiler, just to check and debug the compile
environment.
Does anybody have an idea / suggestions?
I tried #pragma message ("and:" _MSC_VER ":")
but I am getting
C:\test\try1\testheader.h(6) : warning C4081: expected ')'; found 'constant'
from the compiler.
Thanks from a newbie!