This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
C++ PATCH to restore __EXCEPTIONS
- To: gcc-patches at gcc dot gnu dot org
- Subject: C++ PATCH to restore __EXCEPTIONS
- From: Jason Merrill <jason at redhat dot com>
- Date: 09 Feb 2001 13:56:21 +0000
- Cc: Zack Weinberg <zackw at stanford dot edu>
The definition of __EXCEPTIONS was lost in Zack's 2000-07-13 change to add
cpp_options; I believe this to have been an oversight.
2001-02-09 Jason Merrill <jason@redhat.com>
* lang-specs.h: Restore definition of __EXCEPTIONS.
*** lang-specs.h.~1~ Thu Feb 8 12:39:25 2001
--- lang-specs.h Fri Feb 9 11:57:19 2001
*************** Boston, MA 02111-1307, USA. */
*** 33,38 ****
--- 33,39 ----
the external preprocessor if -save-temps is given. */
#if ENABLE_NEW_GXX_ABI
"%{E|M|MM:cpp0 -lang-c++ -D_GNU_SOURCE %{!no-gcc:-D__GNUG__=%v1}\
+ %{!fno-exceptions:-D__EXCEPTIONS}\
%{!fno-new-abi:-D__GXX_ABI_VERSION=100}\
%{ansi:-D__STRICT_ANSI__ -trigraphs -$} %(cpp_options)}\
%{!E:%{!M:%{!MM:\
*************** Boston, MA 02111-1307, USA. */
*** 51,56 ****
--- 52,58 ----
%{!fsyntax-only:%(invoke_as)}}}}"
#else
"%{E|M|MM:cpp0 -lang-c++ %{!no-gcc:-D__GNUG__=%v1}\
+ %{!fno-exceptions:-D__EXCEPTIONS}\
%{fnew-abi:-D__GXX_ABI_VERSION=100}\
%{ansi:-D__STRICT_ANSI__ -trigraphs -$} %(cpp_options)}\
%{!E:%{!M:%{!MM:\