$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r83104 - trunk/boost
From: john_at_[hidden]
Date: 2013-02-23 13:26:40
Author: johnmaddock
Date: 2013-02-23 13:26:39 EST (Sat, 23 Feb 2013)
New Revision: 83104
URL: http://svn.boost.org/trac/boost/changeset/83104
Log:
Suppress GCC warnings.
Text files modified:
trunk/boost/static_assert.hpp | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
Modified: trunk/boost/static_assert.hpp
==============================================================================
--- trunk/boost/static_assert.hpp (original)
+++ trunk/boost/static_assert.hpp 2013-02-23 13:26:39 EST (Sat, 23 Feb 2013)
@@ -17,6 +17,15 @@
#include <boost/config.hpp>
#include <boost/detail/workaround.hpp>
+#if defined(__GNUC__) && !defined(__GXX_EXPERIMENTAL_CXX0X__)
+//
+// This is horrible, but it seems to be the only we can shut up the
+// "anonymous variadic macros were introduced in C99 [-Wvariadic-macros]"
+// warning that get spewed out otherwise in non-C++11 mode.
+//
+#pragma GCC system_header
+#endif
+
#ifndef BOOST_NO_CXX11_STATIC_ASSERT
# ifndef BOOST_NO_CXX11_VARIADIC_MACROS
# define BOOST_STATIC_ASSERT_MSG( ... ) static_assert(__VA_ARGS__)