This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/15378] -Werror should provide notification of why gcc is exiting
- From: "jsm at polyomino dot org dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 May 2004 17:48:58 -0000
- Subject: [Bug other/15378] -Werror should provide notification of why gcc is exiting
- References: <20040511170322.15378.ed@catmur.co.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From jsm at polyomino dot org dot uk 2004-05-11 17:48 -------
Subject: Re: New: -Werror should provide notification of
why gcc is exiting
On Tue, 11 May 2004, ed at catmur dot co dot uk wrote:
> gcc should output something like:
> -Werror is set; regarding warnings as errors. Exiting.
There's code to do this in diagnostic_count_diagnostic, but it doesn't
seem to be working.
if (context->warnings_are_errors_message)
{
pp_verbatim (context->printer,
"%s: warnings being treated as errors\n", progname);
context->warnings_are_errors_message = false;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15378