aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/lang-specs.h
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@redhat.com>2001-04-06 06:16:38 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2001-04-06 06:16:38 +0000
commitfdecbf8ab8226fb0ed0c78f12b329ac11a7593c7 (patch)
treedae82d54f9551433a8d492e0aca6e250677891da /gcc/cp/lang-specs.h
parent98c2359b286f7eb35ff65320486e1d0dc17bf48f (diff)
downloadgcc-fdecbf8ab8226fb0ed0c78f12b329ac11a7593c7.zip
gcc-fdecbf8ab8226fb0ed0c78f12b329ac11a7593c7.tar.gz
gcc-fdecbf8ab8226fb0ed0c78f12b329ac11a7593c7.tar.bz2
lang-specs.h: Add __GXX_DEPRECATED.
2001-04-05 Benjamin Kosnik <bkoz@redhat.com> * lang-specs.h: Add __GXX_DEPRECATED. From-SVN: r41141
Diffstat (limited to 'gcc/cp/lang-specs.h')
-rw-r--r--gcc/cp/lang-specs.h3
1 files changed, 3 insertions, 0 deletions
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__}}\