diff options
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/lang-specs.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 1803a0d..0519232 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2001-04-05 Benjamin Kosnik <bkoz@redhat.com> + + * lang-specs.h: Add __GXX_DEPRECATED. + Thu Apr 5 16:54:29 2001 J"orn Rennecke <amylaar@redhat.com> * 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 55c1f74..ca49172 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__}}\ |