[Bug c/50643] New: Suppress cc1: warnings being treated as errors

jg at jguk dot org gcc-bugzilla@gcc.gnu.org
Thu Oct 6 22:17:00 GMT 2011


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



More information about the Gcc-bugs mailing list