Boost logo

Threads-Devel :

From: Jeroen van der Wulp (J.v.d.Wulp_at_[hidden])
Date: 2007-10-16 08:34:54


Hello,

When building in release mode a lot of warnings about unused variables
come along. In debug mode there is an assert statement so the variable
is used, but in release mode it is not.

I can create a patch that defines the variable and does the assert
conditionally when not defined(NDEBUG), and otherwise does only the call
to the function that would normally initialise the variable. Would you
consider it for inclusion or are these warning messages considered to be
non-issues.

Best regards,

Jeroen van der Wulp


Threads-Devel list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk