Boost.Serialization's does not even built on my platform Ubuntu gcc-4.8
Regarding the test - I have my own that the old facet obviously wouldn't pass.
That is not my question. Will your new version pass the current test?
http://www.boost.org/development/tests/master/developer/output/teeks99-05a-U... I fixed it by this diff --git a/include/boost/serialization/static_warning.hpp b/include/boost/serialization/static_warning.hpp index cbbcb82..7ca927b 100644 --- a/include/boost/serialization/static_warning.hpp +++ b/include/boost/serialization/static_warning.hpp @@ -96,7 +96,7 @@ struct BOOST_SERIALIZATION_SS {}; #define BOOST_SERIALIZATION_BSW(B, L) \ typedef boost::serialization::BOOST_SERIALIZATION_SS< \ sizeof( boost::serialization::static_warning_test< B, L > ) \ - > BOOST_JOIN(STATIC_WARNING_LINE, L) BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE; + > BOOST_JOIN(STATIC_WARNING_LINE, L) ; #define BOOST_STATIC_WARNING(B) BOOST_SERIALIZATION_BSW(B, __LINE__) #endif // BOOST_SERIALIZATION_STATIC_WARNING_HPP That test passes with new facet. But I must admit the test is very basic and does not test even 1/2 of what need to be tested in the interface.