Opened 13 years ago

Closed 12 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:

Description

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@… 13 years ago.
Avoid redefining BOOST_NO_EXCEPTIONS

Download all attachments as: .zip

Change History (2)

by nigels@…, 13 years ago

Attachment: boost_config_gcc.diff added

Avoid redefining BOOST_NO_EXCEPTIONS

comment:1 by John Maddock, 12 years ago

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.