id summary reporter owner description type status milestone component version severity resolution keywords cc 6074 warnings-as-errors not usable with Boost.test in release mode Paul A. Bristow Gennadiy Rozental "Ticket #3598 reported patches for allowing warnings-as-errors to be used. I note that the current trunk version has (possibly new) warnings in release mode (debug is OK) that prevent warnings-as-errors from being used. unit_test_parameters.cpp i:\boost-trunk\boost\test\utils\named_params.hpp(73) : error C2220: warning treated as error - no 'object' file generated i:\boost-trunk\boost\test\utils\named_params.hpp(73) : warning C4702: unreachable code compile-c-c++ i:\boost-trunk\bin.v2\libs\test\build\msvc-10.0\release\asynch-exceptions-on\link-static\threading-multi\decorator.obj decorator.cpp i:\boost-trunk\boost\test\utils\named_params.hpp(77) : error C2220: warning treated as error - no 'object' file generated i:\boost-trunk\boost\test\utils\named_params.hpp(77) : warning C4702: unreachable code execution_monitor.cpp i:\boost-trunk\boost\test\impl\execution_monitor.ipp(1040) : error C2220: warning treated as error - no 'object' file generated i:\boost-trunk\boost\test\impl\execution_monitor.ipp(1040) : warning C4702: unreachable code It would be nice if either 1 These can be coded round. 2 The docs could be updated to warn that warnings-as-errors is not supported. 3 Or if there is some other way round this? " Support Requests closed Boost 1.59.0 test Boost Development Trunk Optimization fixed boost test warnings-as-errors