From: Benjamin Kosnik Date: Fri, 6 Apr 2001 06:16:38 +0000 (+0000) Subject: lang-specs.h: Add __GXX_DEPRECATED. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fdecbf8ab8226fb0ed0c78f12b329ac11a7593c7;p=gcc.git lang-specs.h: Add __GXX_DEPRECATED. 2001-04-05 Benjamin Kosnik * lang-specs.h: Add __GXX_DEPRECATED. From-SVN: r41141 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 1803a0d5e53..051923292a4 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2001-04-05 Benjamin Kosnik + + * lang-specs.h: Add __GXX_DEPRECATED. + Thu Apr 5 16:54:29 2001 J"orn Rennecke * search.c (get_dynamic_cast_base_type): When building a new diff --git a/gcc/cp/lang-specs.h b/gcc/cp/lang-specs.h index 55c1f749dab..ca49172caf6 100644 --- a/gcc/cp/lang-specs.h +++ b/gcc/cp/lang-specs.h @@ -36,12 +36,14 @@ Boston, MA 02111-1307, USA. */ /* cc1plus has an integrated ISO C preprocessor. We should invoke the external preprocessor if -save-temps is given. */ "%{E|M|MM:cpp0 -lang-c++ -D_GNU_SOURCE %{!no-gcc:-D__GNUG__=%v1}\ + %{!Wno-deprecated:-D__GXX_DEPRECATED}\ %{!fno-exceptions:-D__EXCEPTIONS}\ %{!fno-new-abi:-D__GXX_ABI_VERSION=100}\ %{ansi:-D__STRICT_ANSI__ -trigraphs -$} %(cpp_options)}\ %{!E:%{!M:%{!MM:\ %{save-temps:cpp0 -lang-c++ -D_GNU_SOURCE \ %{!no-gcc:-D__GNUG__=%v1}\ + %{!Wno-deprecated:-D__GXX_DEPRECATED}\ %{!fno-exceptions:-D__EXCEPTIONS}\ %{!fno-new-abi:-D__GXX_ABI_VERSION=100}\ %{ansi:-D__STRICT_ANSI__ -trigraphs -$}\ @@ -49,6 +51,7 @@ Boston, MA 02111-1307, USA. */ cc1plus %{save-temps:-fpreprocessed %b.ii}\ %{!save-temps:%(cpp_options)\ %{!no-gcc:-D__GNUG__=%v1} -D_GNU_SOURCE \ + %{!Wno-deprecated:-D__GXX_DEPRECATED}\ %{!fno-exceptions:-D__EXCEPTIONS}\ %{!fno-new-abi:-D__GXX_ABI_VERSION=100}\ %{ansi:-D__STRICT_ANSI__}}\