This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/15378] New: -Werror should provide notification of why gcc is exiting
- From: "ed at catmur dot co dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 May 2004 17:03:26 -0000
- Subject: [Bug other/15378] New: -Werror should provide notification of why gcc is exiting
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ 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