public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-8414] opts: add Warning keyword for 2 options
@ 2021-05-14  9:43 Martin Liska
  0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2021-05-14  9:43 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:919dcbb3a77cad24a0099ee7b43bcaaff813d770

commit r11-8414-g919dcbb3a77cad24a0099ee7b43bcaaff813d770
Author: Martin Liska <mliska@suse.cz>
Date:   Fri May 14 11:40:58 2021 +0200

    opts: add Warning keyword for 2 options
    
    gcc/c-family/ChangeLog:
    
            * c.opt: Add Warning keyword for 2 options.
    
    (cherry picked from commit 40a2f88838e5119799649a74692cbf38d774b706)

Diff:
---
 gcc/c-family/c.opt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt
index 3f8b72cdc00..2005b783c68 100644
--- a/gcc/c-family/c.opt
+++ b/gcc/c-family/c.opt
@@ -592,7 +592,7 @@ C ObjC RejectNegative Warning Alias(Werror=, implicit-function-declaration)
 This switch is deprecated; use -Werror=implicit-function-declaration instead.
 
 Wexceptions
-C++ ObjC++ Var(warn_exceptions) Init(1)
+C++ ObjC++ Var(warn_exceptions) Init(1) Warning
 Warn when an exception handler is shadowed by another handler.
 
 Wextra
@@ -1737,7 +1737,7 @@ C++ ObjC Var(flag_module_version_ignore) Integer
 ; undocumented, Very dangerous, but occasionally useful
 
 Winvalid-imported-macros
-C++ ObjC++ Var(warn_imported_macros)
+C++ ObjC++ Var(warn_imported_macros) Warning
 Warn about macros that have conflicting header units definitions.
 
 flang-info-include-translate


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-14  9:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-14  9:43 [gcc r11-8414] opts: add Warning keyword for 2 options Martin Liska

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).