Opened 8 years ago

Closed 7 years ago

#4059 closed Patches (fixed)

config/compiler/gcc.hpp should not redefine BOOST_NO_EXCEPTIONS

Reported by: nigels@… Owned by: John Maddock
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.

Attachments (1)

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

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by nigels@…

Attachment: boost_config_gcc.diff added

Avoid redefining BOOST_NO_EXCEPTIONS

comment:1 Changed 7 years ago by John Maddock

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain John Maddock.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.