* lang-specs.h: Add more __EXCEPTIONS.
authorJason Merrill <jason@redhat.com>
Tue, 13 Feb 2001 13:11:40 +0000 (08:11 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 13 Feb 2001 13:11:40 +0000 (08:11 -0500)
From-SVN: r39633

gcc/cp/ChangeLog
gcc/cp/lang-specs.h

index e2c1a8842106a6c76da2b072a6ce05519ba15390..64deaaf338aea710f8cc58e0141c1027aa87b908 100644 (file)
@@ -1,3 +1,7 @@
+2001-02-13  Jason Merrill  <jason@redhat.com>
+
+       * lang-specs.h: Add more __EXCEPTIONS.
+
 2001-02-12  Nathan Sidwell  <nathan@codesourcery.com>
 
        * typeck2.c (process_init_constructor): Check
index 54ed968442518a20768cdad68938719838a732fc..c8e708b9f584d725f9d63bf6e975d3935d1fb344 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for specs for C++.
-   Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000
+   Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001
    Free Software Foundation, Inc.
 
 This file is part of GNU CC.
@@ -38,12 +38,14 @@ Boston, MA 02111-1307, USA.  */
      %{!E:%{!M:%{!MM:\
        %{save-temps: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) %b.ii \n}\
       cc1plus %{save-temps:-fpreprocessed %b.ii}\
               %{!save-temps:%(cpp_options)\
                            %{!no-gcc:-D__GNUG__=%v1} -D_GNU_SOURCE \
+                           %{!fno-exceptions:-D__EXCEPTIONS}\
                            %{!fno-new-abi:-D__GXX_ABI_VERSION=100}\
                            %{ansi:-D__STRICT_ANSI__}}\
        %{ansi:-trigraphs -$}\