Ticket #4059 (closed Patches: fixed)

Opened 7 years ago

Last modified 7 years ago

config/compiler/gcc.hpp should not redefine BOOST_NO_EXCEPTIONS

Reported by: nigels@… Owned by: johnmaddock
Milestone: Boost 1.43.0 Component: config
Version: Boost 1.42.0 Severity: Problem
Keywords: Cc:


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.


boost_config_gcc.diff (300 bytes) - added by nigels@… 7 years ago.
Avoid redefining BOOST_NO_EXCEPTIONS

Change History

Changed 7 years ago by nigels@…

Avoid redefining BOOST_NO_EXCEPTIONS

comment:1 Changed 7 years ago by johnmaddock

  • Status changed from new to closed
  • Resolution set to fixed

(In [61791]) Only define BOOST_NO_EXCEPTIONS if not already defined - fixes #4059.


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.