Modify

Ticket #4059 (closed Patches: fixed)

Opened 4 years ago

Last modified 4 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:

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

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

Change History

Changed 4 years ago by nigels@…

Avoid redefining BOOST_NO_EXCEPTIONS

comment:1 Changed 4 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.

View

Add a comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.