Closed redboltz closed 5 years ago
When I include both boost/spirit/include/qi.hpp and boost/endian/buffers.hpp, I got warning: 'BOOST_ENDIAN_DEFAULT_CONSTRUCT' macro redefined.
boost/spirit/include/qi.hpp
boost/endian/buffers.hpp
warning: 'BOOST_ENDIAN_DEFAULT_CONSTRUCT' macro redefined
#include <boost/spirit/include/qi.hpp> #include <boost/endian/buffers.hpp> int main() { }
https://wandbox.org/permlink/lwc8uW2Giwr3CWO7
It seems that the macro should be defined appropriate point, but I'm not sure where is it.
I found the issue Boost 1.66.0 (current release).
Should be fixed in #349.
When I include both
boost/spirit/include/qi.hpp
andboost/endian/buffers.hpp
, I gotwarning: 'BOOST_ENDIAN_DEFAULT_CONSTRUCT' macro redefined
.https://wandbox.org/permlink/lwc8uW2Giwr3CWO7
It seems that the macro should be defined appropriate point, but I'm not sure where is it.
I found the issue Boost 1.66.0 (current release).