This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/50643] New: Suppress cc1: warnings being treated as errors
- From: "jg at jguk dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 06 Oct 2011 22:17:08 +0000
- Subject: [Bug c/50643] New: Suppress cc1: warnings being treated as errors
- Auto-submitted: auto-generated
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