[Bf-committers] 2.36 status...
Jacques Beaurain
jbeaurain at istop.com
Tue Dec 14 14:23:56 CET 2004
Arne Schmitz wrote:
>Am Dienstag, 14. Dezember 2004 13:35 schrieb Ton Roosendaal:
>
>
>>I am not familiar with asserts, but i regular compile debug builds with
>>"-g", I suppose you mean something else? Do we have to compile solid
>>with asserts on or so? (N00b alert!)
>>
>>
>
>The assert() macro expands to nothing, if the macro NDEBUG is defined. If the
>build system does not define NDEBUG, the assert macro will expand to an
>assertion-testing code. So it has nothing to do with "-g".
>
>Arne
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Bf-committers mailing list
>Bf-committers at projects.blender.org
>http://projects.blender.org/mailman/listinfo/bf-committers
>
>
I guess that is why we never see asserts on Windows with scons . NDEBUG
is always defined . The correct way would be:
NDEBUG for release
_DEBUG for debug
That together with the /MTd flag (and the /RTC etc.) in my previous
post's patch would make more reliable debugging builds on windows.
More information about the Bf-committers
mailing list