Subject: [Boost-bugs] [Boost C++ Libraries] #6074: warnings-as-errors not usable with Boost.test in release mode
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-31 10:39:08
#6074: warnings-as-errors not usable with Boost.test in release mode
-------------------------------------------+--------------------------------
Reporter: pbristow | Owner: rogeeff
Type: Support Requests | Status: new
Milestone: To Be Determined | Component: test
Version: Boost Development Trunk | Severity: Optimization
Keywords: boost test warnings-as-errors |
-------------------------------------------+--------------------------------
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?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6074> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC