Hi Stefan!

On 12/01/11 09:30, Stefan Eilemann wrote:
> On Wed, Jan 12, 2011 at 6:55 AM, Martin Lambers <[email protected]> wrote:
>> I have no idea what causes this. Do you have any pointers?
> 
> Bino seems not to define 'NDEBUG' in release builds. The following
> output is under 'ifndef NDEBUG':
> 
> co/base/referenced.h:76 2 Assert: !_hasBeenDeleted
> 
> _hasBeenDeleted is not initialized in Release builds, since it's not
> supposed to be used. From the callstack it looks like bino is
> instantiating a RefPtr without 'NDEBUG' set.
> 
> I'll change the implementation to initialize _hasBeenDeleted always,
> but there might be other issues when not setting NDEBUG. I suggest you
> set this for Release builds.

Thanks, that was the problem.

I now documented (for Bino) the fact that Equalizer requires the
application to be compiled with the same setting of NDEBUG that was used
to compile Equalizer. However, I think it would be better to not place
that restriction on the application.

Martin

_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Reply via email to