Commit bfc8135f authored by Joseph Pallamidessi's avatar Joseph Pallamidessi

Supress boost STATIC_ASSERT warnings when using gcc > 4.8

parent 9de1a87d
......@@ -116,7 +116,7 @@ template<int x> struct static_assert_test{};
#define BOOST_STATIC_ASSERT( B ) \
typedef ::boost::static_assert_test<\
sizeof(::boost::STATIC_ASSERTION_FAILURE< BOOST_STATIC_ASSERT_BOOL_CAST( B ) >)>\
BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
BOOST_JOIN(boost_static_assert_typedef_, __LINE__) __attribute__((unused))
#endif
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment