diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-09-07 15:40:51 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-09-07 15:40:51 +0000 |
commit | 9846d982f5371c6f416fd5ce51345ca7d3647b1b (patch) | |
tree | 9fc5faae3b555e52159ed79366ecd8c30c555bf2 /gcc/invoke.texi | |
parent | 905d4035ed64ad6bb9f520c11a26072429979748 (diff) | |
download | gcc-9846d982f5371c6f416fd5ce51345ca7d3647b1b.tar.gz |
Back out previous change
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22311 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/invoke.texi')
-rw-r--r-- | gcc/invoke.texi | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/gcc/invoke.texi b/gcc/invoke.texi index 970cbc96296..6751d87af85 100644 --- a/gcc/invoke.texi +++ b/gcc/invoke.texi @@ -108,7 +108,7 @@ in the following sections. -fname-mangling-version-@var{n} -fno-default-inline -fno-gnu-keywords -fnonnull-objects -fguiding-decls -foperator-names -fno-optional-diags -fstrict-prototype -fthis-is-variable --ftemplate-depth-@var{n} -fdiag-codes -nostdinc++ -traditional +e@var{n} +-ftemplate-depth-@var{n} -nostdinc++ -traditional +e@var{n} @end smallexample @item Warning Options @@ -129,7 +129,7 @@ in the following sections. -Wreturn-type -Wshadow -Wsign-compare -Wstrict-prototypes -Wswitch -Wsynth -Wtemplate-debugging -Wtraditional -Wtrigraphs -Wundef -Wuninitialized -Wunused -Wwrite-strings --Wunknown-pragmas -Wnumber-@var{n} +-Wunknown-pragmas @end smallexample @item Debugging Options @@ -1165,19 +1165,6 @@ A limit on the template instantiation depth is needed to detect endless recursions during template class instantiation. ANSI/ISO C++ conforming programs must not rely on a maximum depth greater than 17. -@item -fdiag-codes -When printing a diagnostic, also print the corresponding diagnostic -code. The code is printed in square brackets, before the message -itself. For example, you might see something like: - -@smallexample -test.C:3: warning: [62] all member functions in class `C' are private -@end smallexample - -which indicates that this is warning number 62. Some diagnostics do not -(yet) have corresponding code numbers. This option is useful in -conjuction with @samp{-Wnumber-@var{n}}. - @item -nostdinc++ Do not search for header files in the standard directories specific to C++, but do still search the other standard directories. (This option @@ -1202,7 +1189,6 @@ Do not assume @samp{inline} for functions defined inside a class scope. @item -Wold-style-cast @itemx -Woverloaded-virtual @itemx -Wtemplate-debugging -@itemx -Wnumber-@var{n} Warnings that apply only to C++ programs. @xref{Warning Options,,Options to Request or Suppress Warnings}. @@ -1711,11 +1697,6 @@ conformant compiler code but disables the helpful warning. Warn if a function can not be inlined, and either it was declared as inline, or else the @samp{-finline-functions} option was given. -@item -Wnumber-@var{n} (C++ only) -Enable warning number @var{n}. (Or, more often, with -@samp{-Wno-number-@var{n}}, disable that warning.) To obtain the -appropriate numbers, use @samp{-fdiag-codes}. - @item -Wold-style-cast Warn if an old-style (C-style) cast is used within a program. |