[ expat-Bugs-419585 ] Compiling with gcc for C++ exceptions.
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 24 Jul 2001 20:19:54 -0700
Bugs item #419585, was opened at 2001-04-27 11:49
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=419585&group_id=10127
Category: Build control
Group: Feature Request
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Submitted By: David Crowley (dcrowley)
>Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: Compiling with gcc for C++ exceptions.
Initial Comment:
It would be nice if when compiling with gcc, the
flag "-fexceptions" was added so it can deal with C++
handlers that throw exceptions. As it's now built by
default, C++ programs will crash if they throw in the
handler. Perhaps make "-fexceptions" the default so as
to be most robust, and allow people to turn off the
flag as a parameter to configure ("configure --no-
exceptions" or whatever).
----------------------------------------------------------------------
>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-07-24 20:19
Message:
Logged In: YES
user_id=3066
Added a note about this in README revision 1.7.
This is not being added as a default option -- Expat is fundamentally a C implementation, not C++. Avoiding this option for normal C allows the optimizer to perform more effective optimizations and generally improve performance.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=419585&group_id=10127