Boost logo

Boost-Commit :

From: emil_at_[hidden]
Date: 2008-05-03 14:20:15


Author: emildotchevski
Date: 2008-05-03 14:20:15 EDT (Sat, 03 May 2008)
New Revision: 45082
URL: http://svn.boost.org/trac/boost/changeset/45082

Log:
Disabled bogus GCC warnings.
Text files modified:
   trunk/boost/exception/detail/cloning_base.hpp | 4 ++++
   trunk/boost/exception/detail/counted_base.hpp | 4 ++++
   trunk/boost/exception/info.hpp | 4 ++++
   3 files changed, 12 insertions(+), 0 deletions(-)

Modified: trunk/boost/exception/detail/cloning_base.hpp
==============================================================================
--- trunk/boost/exception/detail/cloning_base.hpp (original)
+++ trunk/boost/exception/detail/cloning_base.hpp 2008-05-03 14:20:15 EDT (Sat, 03 May 2008)
@@ -23,6 +23,10 @@
 
             protected:
 
+#ifdef __GNUC__
+virtual //Disable bogus GCC warning.
+//Would someone at GCC finally get the protected, non-virtual destructor approach?
+#endif
             ~cloning_base() throw()
                 {
                 }

Modified: trunk/boost/exception/detail/counted_base.hpp
==============================================================================
--- trunk/boost/exception/detail/counted_base.hpp (original)
+++ trunk/boost/exception/detail/counted_base.hpp 2008-05-03 14:20:15 EDT (Sat, 03 May 2008)
@@ -34,6 +34,10 @@
 
             protected:
 
+#ifdef __GNUC__
+virtual //Disable bogus GCC warning.
+//Would someone at GCC finally get the protected, non-virtual destructor approach?
+#endif
             ~counted_base() throw()
                 {
                 }

Modified: trunk/boost/exception/info.hpp
==============================================================================
--- trunk/boost/exception/info.hpp (original)
+++ trunk/boost/exception/info.hpp 2008-05-03 14:20:15 EDT (Sat, 03 May 2008)
@@ -39,6 +39,10 @@
 
             protected:
 
+#ifdef __GNUC__
+virtual //Disable bogus GCC warning.
+//Would someone at GCC finally get the protected, non-virtual destructor approach?
+#endif
             ~error_info_base()
                 {
                 }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk