From 4f8b4fd92c7aef5cbcd742f138c22f3a383941d6 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Sat, 11 Jul 1998 21:25:52 -0400 Subject: [PATCH] document -fno-optional-diags From-SVN: r21066 --- gcc/invoke.texi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/invoke.texi b/gcc/invoke.texi index 5cd5432bcad..1d249303a33 100644 --- a/gcc/invoke.texi +++ b/gcc/invoke.texi @@ -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 -- 2.30.2