]> git.pld-linux.org Git - packages/boost.git/blame - boost-1.54.0-static_warning-unused_typedef.patch
- release 3 (by relup.sh)
[packages/boost.git] / boost-1.54.0-static_warning-unused_typedef.patch
CommitLineData
647f39b2
AM
1diff -up boost_1_54_0/boost/serialization/static_warning.hpp\~ boost_1_54_0/boost/serialization/static_warning.hpp
2--- boost_1_54_0/boost/serialization/static_warning.hpp~ 2013-07-15 23:36:08.224983552 +0200
3+++ boost_1_54_0/boost/serialization/static_warning.hpp 2013-07-18 19:33:36.163463409 +0200
4@@ -72,6 +72,7 @@
5 #include <boost/mpl/bool.hpp>
6 #include <boost/mpl/print.hpp>
7 #include <boost/mpl/eval_if.hpp>
8+#include <boost/static_assert.hpp>
9
10 namespace boost {
11 namespace serialization {
12@@ -101,7 +102,8 @@ struct BOOST_SERIALIZATION_SS {};
13 #define BOOST_SERIALIZATION_BSW(B, L) \
14 typedef boost::serialization::BOOST_SERIALIZATION_SS< \
15 sizeof( boost::serialization::static_warning_test< B, L > ) \
16- > BOOST_JOIN(STATIC_WARNING_LINE, L);
17+ > BOOST_JOIN(STATIC_WARNING_LINE, L) \
18+ BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE;
19
20 #define BOOST_STATIC_WARNING(B) BOOST_SERIALIZATION_BSW(B, __LINE__)
21
22
23Diff finished. Fri Jul 19 01:38:59 2013
This page took 0.025204 seconds and 4 git commands to generate.