Boost logo

Threads-Devel :

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


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

Best regards,

Jeroen van der Wulp

Threads-Devel list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at