From bbb571febb52ea3271216f607a84e8191d5b2358 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Wed, 27 Nov 2002 16:39:14 +0000 Subject: [PATCH] Suppress some GCC warnings [SVN r16443] --- include/boost/type_traits/is_polymorphic.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/type_traits/is_polymorphic.hpp b/include/boost/type_traits/is_polymorphic.hpp index a9c5512..37542a8 100644 --- a/include/boost/type_traits/is_polymorphic.hpp +++ b/include/boost/type_traits/is_polymorphic.hpp @@ -21,7 +21,9 @@ struct is_polymorphic_imp1 struct d1 : public ncvT { d1(); +# if !defined(__GNUC__) // this raises warnings with some classes, and buys nothing with GCC ~d1()throw(); +# endif char padding[256]; }; struct d2 : public ncvT