Subject: [Boost-bugs] [Boost C++ Libraries] #5081: Extra semicolons cause clang to emit warnings
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-01-17 21:37:49
#5081: Extra semicolons cause clang to emit warnings
------------------------------+---------------------------------------------
Reporter: marshall | Owner: rogeeff
Type: Patches | Status: new
Milestone: To Be Determined | Component: test
Version: Boost 1.46.0 | Severity: Cosmetic
Keywords: |
------------------------------+---------------------------------------------
While compiling with clang TOT, I got a series of warnings like
{{{
In file included from ../../../libs/test/src/unit_test_monitor.cpp:16:
In file included from ../../../boost/test/impl/unit_test_monitor.ipp:20:
../../../boost/test/unit_test_monitor.hpp:56:53: warning: extra ';' inside
a class [-pedantic]
BOOST_TEST_SINGLETON_CONS( unit_test_monitor_t );
^
In file included from ../../../libs/test/src/unit_test_monitor.cpp:16:
In file included from ../../../boost/test/impl/unit_test_monitor.ipp:22:
In file included from ../../../boost/test/test_tools.hpp:19:
../../../boost/test/predicate_result.hpp:44:37: warning: extra ';' inside
a struct [-pedantic]
struct dummy { void nonnull() {}; };
}}}
Attached is a patch to silence these warnings.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5081> 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:05 UTC