Subject: [Boost-bugs] [Boost C++ Libraries] #5832: Unable to clean compile Boost::Test (1.40.0) with GCC using -Weffc++
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-08-30 03:51:47
#5832: Unable to clean compile Boost::Test (1.40.0) with GCC using -Weffc++
--------------------------------+-------------------------------------------
Reporter: noloader@⦠| Owner:
Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
Version: Boost 1.40.0 | Severity: Problem
Keywords: |
--------------------------------+-------------------------------------------
Somewhat petty squawk, but were are full believers in using tools to
locate problems at compile time. So our command line includes -Wall
-Wextra -Woverloaded-virtual -Wreorder -Weffc++. Using -Weffc++ results in
a non-virtual dtor warning for nil_t. Specifying -Wno-non-virtual-dtor
with -Weffc++ has no effect. Boost appears to be collateral damage on this
one.
/usr/include/boost/test/unit_test_suite.hpp:
PREVIOUS:
struct nil_t { }
MODIFIED:
struct nil_t
{
explicit nil_t() { }
virtual ~nil_t() { }
};
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5832> 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