Opened 10 years ago

Closed 10 years ago

#7394 closed Bugs (duplicate)

system_error.hpp fails with BOOST_NO_EXCEPTIONS (-fno-exceptions)

Reported by: phishman3579@… Owned by: Beman Dawes
Milestone: To Be Determined Component: system
Version: Boost 1.52.0 Severity: Problem
Keywords: BOOST_NO_EXCEPTIONS -fno-exceptions Cc:

Description

In file included from lib/boost_1_51_0/boost/thread/exceptions.hpp:22:0,

from lib/boost_1_51_0/boost/thread/pthread/mutex.hpp:11, from lib/boost_1_51_0/boost/thread/mutex.hpp:16, from src/mensa/util/math/Vector3D.hxx:99, from src/mensa/util/math/Ray3D.cxx:91:

lib/boost_1_51_0/boost/system/system_error.hpp: In member function ‘virtual const char* boost::system::system_error::what() const’: lib/boost_1_51_0/boost/system/system_error.hpp:70:16: error: exception handling disabled, use -fexceptions to enable

Attachments (2)

boost2.patch (852 bytes ) - added by phishman3579@… 10 years ago.
patch to fix
boost.patch (616 bytes ) - added by phishman3579@… 10 years ago.
patch to fix

Download all attachments as: .zip

Change History (5)

by phishman3579@…, 10 years ago

Attachment: boost2.patch added

patch to fix

comment:1 by anonymous, 10 years ago

Component: serializationsystem
Owner: changed from Robert Ramey to Beman Dawes
Summary: smart_cast.hpp fails with BOOST_NO_EXCEPTIONS (-fno-exceptions)system_error.hpp fails with BOOST_NO_EXCEPTIONS (-fno-exceptions)

by phishman3579@…, 10 years ago

Attachment: boost.patch added

patch to fix

comment:2 by anonymous, 10 years ago

Ignore boost2.patch, it isn't for this ticket.

comment:3 by viboes, 10 years ago

Resolution: duplicate
Status: newclosed

#7149 system failed to compile with BOOST_NO_EXCEPTIONS defined when -fno-exceptions is NOT used

Note: See TracTickets for help on using tickets.