This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

C++ PATCH to restore __EXCEPTIONS


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:\


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]