Ticket #4059 (closed Patches: fixed)
config/compiler/gcc.hpp should not redefine BOOST_NO_EXCEPTIONS
|Reported by:||nigels@…||Owned by:||johnmaddock|
Boost is detecting exception support (or not) and trying to redefine BOOST_NO_EXCEPTIONS which results in a warning if BOOST_NO_EXCEPTIONS is explicitly specified as a compilation flag.
I would argue that BOOST_NO_EXCEPTIONS (from upstream) should be observed even if exception support is available.
Trivial patch attached.