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] -Werror should provide notification of why gcc is exiting


------- 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


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