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 other/15378] New: -Werror should provide notification of why gcc is exiting


$ echo "main(){}" | gcc -x c - -Wall -Werror -o /dev/null
<stdin>:1: warning: return type defaults to `int'

gcc should output something like:
-Werror is set; regarding warnings as errors. Exiting.

This is necessary because when gcc is invoked from GNU make it is not always
clear what command-line arguments have been passed.

-- 
           Summary: -Werror should provide notification of why gcc is
                    exiting
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ed at catmur dot co dot uk
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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