Improved compatibility with various compilers.

[SVN r45087]
This commit is contained in:
Emil Dotchevski
2008-05-03 19:51:41 +00:00
parent cde6de22d9
commit 7cc96d23ec
4 changed files with 57 additions and 32 deletions

View File

@ -6,6 +6,8 @@
#ifndef UUID_F7D5662CCB0F11DCA353CAC656D89593
#define UUID_F7D5662CCB0F11DCA353CAC656D89593
#include <boost/detail/workaround.hpp>
namespace
boost
{
@ -23,9 +25,8 @@ boost
protected:
#ifdef __GNUC__
#if BOOST_WORKAROUND( __GNUC__, BOOST_TESTED_AT(4) )
virtual //Disable bogus GCC warning.
//Would someone at GCC finally get the protected, non-virtual destructor approach?
#endif
~cloning_base() throw()
{

View File

@ -6,6 +6,8 @@
#ifndef UUID_DBA0D90C930911DCBA7B675A56D89593
#define UUID_DBA0D90C930911DCBA7B675A56D89593
#include <boost/detail/workaround.hpp>
namespace
boost
{
@ -34,9 +36,8 @@ boost
protected:
#ifdef __GNUC__
#if BOOST_WORKAROUND( __GNUC__, BOOST_TESTED_AT(4) )
virtual //Disable bogus GCC warning.
//Would someone at GCC finally get the protected, non-virtual destructor approach?
#endif
~counted_base() throw()
{