[Bf-committers] C++ asserts

Kester Maddock Christopher.Maddock.1 at uni.massey.ac.nz
Thu Jun 9 12:51:50 CEST 2005


Hi Ton,

I would enable that MT_NDEBUG (or change the sense of it, ie so you have to 
#define MT_DEBUG to get any asserts at all.)

Asserts should only come up in debug builds.

Kester

On Saturday 21 May 2005 23:02, Ton Roosendaal wrote:
> Hi,
>
> Can someone with C++ knowledge find out why this "assert trapping" is
> on in our C++ code?
>
> For example this bug report illustrates it:
> http://projects.blender.org/tracker/index.php?
> func=detail&aid=2598&group_id=9&atid=125
>
> Instead of returning to Blender with an error (which is even handled
> with a error message "Not manifold") it just crashes Blender...
>
> There's a test for MT_NDEBUG in ./intern/moto/include/MT_assert.h
>
> Changing this to be 'true' results in a
> ld: Undefined symbols: _MT_QueryAssert
>
> I've got no time for full recompile tests, please help! Get rid of
> this! :)
>
> -Ton-
>
> ------------------------------------------------------------------------
> --
> Ton Roosendaal  Blender Foundation ton at blender.org
> http://www.blender.org
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers

-- 
A king's castle is his home.


More information about the Bf-committers mailing list