public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/50643] New: Suppress cc1: warnings being treated as errors
@ 2011-10-06 22:17 jg at jguk dot org
2012-01-01 0:57 ` [Bug middle-end/50643] " pinskia at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: jg at jguk dot org @ 2011-10-06 22:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50643
Bug #: 50643
Summary: Suppress cc1: warnings being treated as errors
Classification: Unclassified
Product: gcc
Version: 4.5.4
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: jg@jguk.org
My feeling is that the "cc1: warnings being treated as errors" message is not
needed. This is enabled when -Werror is specified.
I suggest to add an option to suppress that message when -Werror is enabled
-Wno-cc1-warning
Alternatively, could -Werror-quiet be added? Which simply does the same as
-Werror, but not displaying that cc1 message.
The surrounding topic of this message was discussed on mailing list:
http://www.mail-archive.com/gcc@gcc.gnu.org/msg59894.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug middle-end/50643] Suppress cc1: warnings being treated as errors
2011-10-06 22:17 [Bug c/50643] New: Suppress cc1: warnings being treated as errors jg at jguk dot org
@ 2012-01-01 0:57 ` pinskia at gcc dot gnu.org
2012-01-01 11:58 ` jg at jguk dot org
2012-05-13 22:30 ` manu at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-01 0:57 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50643
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-01 00:56:52 UTC ---
Well in 4.6 and above say which warning option is used for the error message
but that still does not help when some warnings are turned into errors. How
can you tell the difference between a warning and an error message if the
warning is turned on by default?
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug middle-end/50643] Suppress cc1: warnings being treated as errors
2011-10-06 22:17 [Bug c/50643] New: Suppress cc1: warnings being treated as errors jg at jguk dot org
2012-01-01 0:57 ` [Bug middle-end/50643] " pinskia at gcc dot gnu.org
@ 2012-01-01 11:58 ` jg at jguk dot org
2012-05-13 22:30 ` manu at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: jg at jguk dot org @ 2012-01-01 11:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50643
--- Comment #2 from Jon Grant <jg at jguk dot org> 2012-01-01 11:58:05 UTC ---
differentiation between:
* error
* promoted-to-error
No visibility for the user as they appear the same in the output. Is the
differentiation needed?
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug middle-end/50643] Suppress cc1: warnings being treated as errors
2011-10-06 22:17 [Bug c/50643] New: Suppress cc1: warnings being treated as errors jg at jguk dot org
2012-01-01 0:57 ` [Bug middle-end/50643] " pinskia at gcc dot gnu.org
2012-01-01 11:58 ` jg at jguk dot org
@ 2012-05-13 22:30 ` manu at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: manu at gcc dot gnu.org @ 2012-05-13 22:30 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50643
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2012-05-13
CC| |manu at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #3 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-05-13 22:26:50 UTC ---
Jon, judging from:
http://www.mail-archive.com/gcc@gcc.gnu.org/msg60026.html
it gives me the feeling that if you submitted a good patch and argued along the
same lines, it might get accepted (but perhaps no). But I don't think anyone
else will submit a patch on your behalf. So give it a try:
http://gcc.gnu.org/contribute.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-05-13 22:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-06 22:17 [Bug c/50643] New: Suppress cc1: warnings being treated as errors jg at jguk dot org
2012-01-01 0:57 ` [Bug middle-end/50643] " pinskia at gcc dot gnu.org
2012-01-01 11:58 ` jg at jguk dot org
2012-05-13 22:30 ` manu at gcc dot gnu.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).