Re: [Boost-bugs] [Boost C++ Libraries] #4200: Virtual functions, non-virtual destructor

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4200: Virtual functions, non-virtual destructor
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-09 02:03:58


#4200: Virtual functions, non-virtual destructor
--------------------------------+-------------------------------------------
  Reporter: klimkin@… | Owner: emildotchevski
      Type: Bugs | Status: reopened
 Milestone: To Be Determined | Component: exception
   Version: Boost 1.48.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------+-------------------------------------------

Comment (by emildotchevski):

 Maybe I'm missing something, but I get no warnings running the Boost
 Exception tests with the command line:

 {{{
 bjam variant=debug toolset=gcc cxxflags=-Wnon-virtual-dtor
 }}}

 Same if I use:

 {{{
 bjam variant=debug toolset=gcc cxxflags=-Weffc++
 }}}

 Also, here's my compiler version:

 {{{
 $ g++ --version
 g++.exe (GCC) 4.6.1
 Copyright (C) 2011 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions. There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.
 }}}

 Is there any reason why you pulled the code out from the Boost Exception
 header rather than just including it?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4200#comment:9>
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:09 UTC