This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/28322] GCC new warnings and compatibility
- From: "doko at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jul 2008 03:51:49 -0000
- Subject: [Bug other/28322] GCC new warnings and compatibility
- References: <bug-28322-5724@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #21 from doko at gcc dot gnu dot org 2008-07-10 03:51 -------
Subject: Bug 28322
Author: doko
Date: Thu Jul 10 03:51:04 2008
New Revision: 137687
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137687
Log:
2008-07-10 Peter Maydell <pmaydell@chiark.greenend.org.uk>
PR other/28322
* opts.c (print_ignored_options): report postponed diagnostics for
unknown -Wno-* options as warnings, not errors.
(postpone_unknown_option_error): renamed to
postpone_unknown_option_warning.
* gcc.dg/pr28322-2.c: check that emitted diagnostic for -Wno-foobar
is a warning and not an error.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/opts.c
trunk/gcc/testsuite/gcc.dg/pr28322-2.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28322