diff options
author | Joseph Myers <jsm28@cam.ac.uk> | 2001-11-18 17:16:24 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2001-11-18 17:16:24 +0000 |
commit | aa99bd097969b1be33198b73898b4f8a3021a837 (patch) | |
tree | 61e4108779bd37a598484824d53cc0b8054e6445 /gcc/doc | |
parent | 6f4fdd10f3563b9b04c4491c6a55608b1d975651 (diff) | |
download | gcc-aa99bd097969b1be33198b73898b4f8a3021a837.zip gcc-aa99bd097969b1be33198b73898b4f8a3021a837.tar.gz gcc-aa99bd097969b1be33198b73898b4f8a3021a837.tar.bz2 |
c-decl.c (c_decode_option): Give deprecation warning for -traditional.
* c-decl.c (c_decode_option): Give deprecation warning for
-traditional.
* doc/invoke.texi (-traditional): Note that this option is
deprecated.
testsuite:
* gcc.dg/cpp/assert_trad1.c, gcc.dg/cpp/tr-paste.c,
gcc.dg/cpp/tr-str.c: Use -traditional-cpp instead of -traditional.
* gcc.dg/ext-glob.c: Expect -traditional deprecation warning.
From-SVN: r47147
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/invoke.texi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 83e5c97..32a2b35 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -1147,6 +1147,8 @@ literal characters @samp{x} and @samp{a} respectively. Without representation of a character, and @samp{\a} produces a bell. @end itemize +This option is deprecated and may be removed. + You may wish to use @option{-fno-builtin} as well as @option{-traditional} if your program uses names that are normally GNU C built-in functions for other purposes of its own. |