This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]