|
Boost : |
Subject: Re: [boost] [nowide] Library Updates and Boost's broken UTF-8 codecvt facet
From: Artyom Beilis (artyomtnk_at_[hidden])
Date: 2015-10-08 09:39:46
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?
>
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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk