Boost logo

Boost :

Subject: [boost] [qi][endian]BOOST_ENDIAN_FORCE_PODNESS is defined in Qi
From: Takatoshi Kondo (redboltz_at_[hidden])
Date: 2016-09-12 03:49:51


I'm using Boost.Endian with Boost.Qi.

It seems that BOOST_ENDIAN_FORCE_PODNESS is defined at

And boost/spirit/include/qi.hpp includes

According to the Boost.Endian document, endian_buffer's constructors
are disappeared by BOOST_ENDIAN_FORCE_PODNESS.

I'd like to use both endian_buffer's constructors and Boost.Qi. Is
there any good way to do that? I don't know much abour Boost.Qi, but
defining BOOST_ENDIAN_FORCE_PODNESS in the header file makes big side

For my workaround, I changed my include order.

Sucessfully compiled

Error ocuured

Takatoshi Kondo

Boost list run by bdawes at, gregod at, cpdaniel at, john at