.NET IDE Proprocessor definitions macros not defined - Release build only



This is very weird. I kept getting fatal erro C1189 for xxx (a macro)
not definied in my release build only (debug build works fine). I have
the exact same Preprocessor Definitions in both Debug and Release
settings in my Property settings. But it appears that those macros
definied in the Preprocessor for Release build are not being fed into
the programs. Anyone has a clue? Thanks.

.



Relevant Pages

  • Re: Problem with Registering filter on windows mobile
    ... The fix is to modify C/C++ preprocessor definitions in the ... unresolved external because it's only defined in debug builds, ... the project using the visual studio wizard it worked, ... Windows CE Multimedia and Graphics ...
    (microsoft.public.windowsce.app.development)
  • Re: Question about #define
    ... > #ifdef DEBUG ... Get and use a C99 compiler. ... Get and use gcc and the gnu variadic macro extensions. ...
    (comp.lang.c)
  • Re: braces needed?
    ... > written macros particularly debug ones or ones requiring a local variable ... - the person who wrote "if (blah) MACRO()" should have been more awake ... I would not want to impose braces on all my code in order to avoid ...
    (comp.lang.cpp)
  • Re: What policy for BUG_ON()?
    ... > our own debug printk() that shows the mess. ... Then the BUG_ONmacro would ... macro would be disabled for general users, ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Converting from 6.0 to VS2005
    ... It's hidden in the macro CheckParameters_* - something to do with the Assert ... I've no idea how DEBUG came to NOT be defined in VC6.0 but I've just wrapped ... or it was a modified Debug project that had ... DebugTraceFn can be used. ...
    (microsoft.public.win32.programmer.messaging)