id summary reporter owner description type status milestone component version severity resolution keywords cc
3646 Boost.test build of libraries - warnings ttat could be silenced. Paul A. Bristow Gennadiy Rozental "A few more warnings in Boost.Test could be silenced - to get to the zero warnings nirvana state ;-)
I am also a bit concerned about:
wd4671 # the copy constructor is inaccessible.
wd4673 # A throw object cannot be handled in the catch block.
which look a bit as though they really ought to be fixed?
(or why not documented 'why not' a bit more fully?)
But a jamfile including this produced a clear build for me starting with 1.41.0
{{{
project boost/test : source-location ../src
: requirements shared:BOOST_TEST_DYN_LINK=1
msvc:on # /Eha synch-exceptions are needed for Boost.Test.
borland:-w-8080
# Disable Warning about boost::noncopyable not being exported.
shared,msvc:-wd4275 # inline assembly instruction that may not produce accurate results on some Pentium microprocessors.
msvc:-wd4671 # the copy constructor is inaccessible.
msvc:-wd4673 # A throw object cannot be handled in the catch block.
msvc:-wd4996 # Suppress warning 'putenv': POSIX name for this item is deprecated.
msvc:-wd4701 # Potentially uninitialised variable used.
msvc:-wd4701 # Unreachable code.
msvc:on # /Eha synch-exceptions are needed for Boost.Test.
all
: usage-requirements
BOOST_TEST_NO_AUTO_LINK=1
# Disable Warning about boost::noncopyable not being exported.
shared,msvc:-wd4275 # inline assembly instruction that may not produce accurate results on some Pentium microprocessors.
;
}}}
" Patches closed Boost 1.42.0 test Boost 1.41.0 Cosmetic duplicate test warnings