Boost logo

Boost :

Subject: [boost] [serialization] static_warning.hpp seems behind boost/config
From: Alain Miniussi (alain.miniussi_at_[hidden])
Date: 2015-10-06 11:20:50


Hi,

It seems that BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE has been replaced by BOOST_ATTRIBUTE_UNUSED in boost config.
But static_warning.hpp is still using the old macro on master (while it is fixed on develop).

On master:
#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;

On develop:
#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_ATTRIBUTE_UNUSED;

Could someone move the fix from develop to master to keep in synch with boost/config ?

It is preventing some tests to pass in mpi.

Thanks

-- 
---
Alain

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk