Avoid deprecated way of checking system endianness According to file /usr/include/boost/predef/detail/endian_compat.h, “[t]he use of BOOST_*_ENDIAN and BOOST_BYTE_ORDER is deprecated. Please include <boost/predef/other/endian.h> and use BOOST_ENDIAN_*_BYTE instead.” . This patch follows this recommendation.
Remove -Werror to fix FTBFS with GCC-7 Modifying build flags avoids having to edit public library headers. GCC-7 gives the following error: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Werror=deprecated]