public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/42966]  New: add some indication that a warning has been converted to an error
@ 2010-02-05  1:16 manu at gcc dot gnu dot org
  2010-02-05  1:20 ` [Bug other/42966] " manu at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: manu at gcc dot gnu dot org @ 2010-02-05  1:16 UTC (permalink / raw)
  To: gcc-bugs

See http://gcc.gnu.org/ml/gcc-patches/2009-11/msg01197.html

Currently, warnings enabled by flags are indicated by the flag when using
-fdiagnostics-show-option. However, warnings enabled by default do not show
anything. Two possible fixes:

1) Give the flag that enables the warning (like now). For default warnings, say
"[default warning]". 

2) Give the flag that disables the warning. For default warnings, say "[-w]".

Also, it would be good to move this info after "warning:" (or "error:" if
-Werror=) to make it easier to see/parse.

Of course, anything that does not have a [something] is a hard error that
cannot be disabled.


-- 
           Summary: add some indication that a warning has been converted to
                    an error
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: enhancement
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: manu at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42966


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-04-14 16:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-05  1:16 [Bug other/42966] New: add some indication that a warning has been converted to an error manu at gcc dot gnu dot org
2010-02-05  1:20 ` [Bug other/42966] " manu at gcc dot gnu dot org
2010-02-07 20:58 ` pinskia at gcc dot gnu dot org
2010-02-27 18:49 ` manu at gcc dot gnu dot org
2010-04-14 16:08 ` manu at gcc dot gnu dot org
2010-04-14 16:10 ` manu at gcc dot gnu dot org

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).