document -fno-optional-diags
authorJason Merrill <jason@gcc.gnu.org>
Sun, 12 Jul 1998 01:25:52 +0000 (21:25 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 12 Jul 1998 01:25:52 +0000 (21:25 -0400)
From-SVN: r21066

gcc/invoke.texi

index 5cd5432bcad466e3a502ba5043a74e935d8da9db..1d249303a337f1426329ac055efe1fb9e5b51b42 100644 (file)
@@ -107,7 +107,7 @@ in the following sections.
 -fno-for-scope  -fhandle-signatures  -fmemoize-lookups  
 -fname-mangling-version-@var{n}  -fno-default-inline  
 -fno-gnu-keywords -fnonnull-objects -fguiding-decls
--foperator-names  -fstrict-prototype  -fthis-is-variable
+-foperator-names  -fno-optional-diags -fstrict-prototype  -fthis-is-variable
 -ftemplate-depth-@var{n}  -nostdinc++  -traditional  +e@var{n}
 @end smallexample
 
@@ -1113,6 +1113,11 @@ Recognize the operator name keywords @code{and}, @code{bitand},
 synonyms for the symbols they refer to.  @samp{-ansi} implies
 @samp{-foperator-names}.
 
+@item -fno-optional-diags
+Disable diagnostics that the standard says a compiler does not need to
+issue.  Currently, this means the diagnostic for a name having multiple 
+meanings within a class.
+
 @item -frepo
 Enable automatic template instantiation.  This option also implies
 @samp{-fno-implicit-templates}.  @xref{Template Instantiation}, for more