public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug other/42965] New: no "warnings being treated as errors" for individual -Werror=x options @ 2010-02-05 1:10 manu at gcc dot gnu dot org 2010-02-05 1:23 ` [Bug other/42965] " manu at gcc dot gnu dot org ` (5 more replies) 0 siblings, 6 replies; 7+ messages in thread From: manu at gcc dot gnu dot org @ 2010-02-05 1:10 UTC (permalink / raw) To: gcc-bugs We do not currently give the message: "warnings being treated as errors" for individual -Werror=x options. See http://gcc.gnu.org/ml/gcc-patches/2009-11/msg01197.html Also, it would be good to print the message near the end of the compilation rather than at the start. -- Summary: no "warnings being treated as errors" for individual - Werror=x options Product: gcc Version: unknown Status: UNCONFIRMED Keywords: diagnostic Severity: enhancement Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: manu at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42965 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug other/42965] no "warnings being treated as errors" for individual -Werror=x options 2010-02-05 1:10 [Bug other/42965] New: no "warnings being treated as errors" for individual -Werror=x options manu at gcc dot gnu dot org @ 2010-02-05 1:23 ` manu at gcc dot gnu dot org 2010-02-07 20:59 ` pinskia at gcc dot gnu dot org ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: manu at gcc dot gnu dot org @ 2010-02-05 1:23 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from manu at gcc dot gnu dot org 2010-02-05 01:23 ------- Adding Simon Baldwin to CC list (although it seems he doesn't read bugzilla mail). -- manu at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |simonb at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42965 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug other/42965] no "warnings being treated as errors" for individual -Werror=x options 2010-02-05 1:10 [Bug other/42965] New: no "warnings being treated as errors" for individual -Werror=x options manu at gcc dot gnu dot org 2010-02-05 1:23 ` [Bug other/42965] " manu at gcc dot gnu dot org @ 2010-02-07 20:59 ` pinskia at gcc dot gnu dot org 2010-02-27 18:48 ` manu at gcc dot gnu dot org ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2010-02-07 20:59 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from pinskia at gcc dot gnu dot org 2010-02-07 20:58 ------- Confirmed. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2010-02-07 20:58:50 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42965 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug other/42965] no "warnings being treated as errors" for individual -Werror=x options 2010-02-05 1:10 [Bug other/42965] New: no "warnings being treated as errors" for individual -Werror=x options manu at gcc dot gnu dot org 2010-02-05 1:23 ` [Bug other/42965] " manu at gcc dot gnu dot org 2010-02-07 20:59 ` pinskia at gcc dot gnu dot org @ 2010-02-27 18:48 ` manu at gcc dot gnu dot org 2010-04-09 15:47 ` manu at gcc dot gnu dot org ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: manu at gcc dot gnu dot org @ 2010-02-27 18:48 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from manu at gcc dot gnu dot org 2010-02-27 18:48 ------- Patch approved for GCC 4.6 http://gcc.gnu.org/ml/gcc-patches/2010-02/msg01188.html -- manu at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |41998 nThis| | Keywords| |patch http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42965 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug other/42965] no "warnings being treated as errors" for individual -Werror=x options 2010-02-05 1:10 [Bug other/42965] New: no "warnings being treated as errors" for individual -Werror=x options manu at gcc dot gnu dot org ` (2 preceding siblings ...) 2010-02-27 18:48 ` manu at gcc dot gnu dot org @ 2010-04-09 15:47 ` manu at gcc dot gnu dot org 2010-04-09 15:47 ` manu at gcc dot gnu dot org 2010-04-09 15:54 ` manu at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: manu at gcc dot gnu dot org @ 2010-04-09 15:47 UTC (permalink / raw) To: gcc-bugs [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 3767 bytes --] ------- Comment #4 from manu at gcc dot gnu dot org 2010-04-09 15:46 ------- Subject: Bug 42965 Author: manu Date: Fri Apr 9 15:45:52 2010 New Revision: 158168 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158168 Log: 2010-04-09 Manuel López-Ibáñez <manu@gcc.gnu.org> PR 42965 * diagnostic.c (diagnostic_initialize): Initialize some_warnings_are_errors. (diagnostic_finish): New. (diagnostic_action_after_output): Call it before exiting. (diagnostic_report_diagnostic): Do not print message here. Set some_warnings_are_errors. * diagnostic.h (diagnostic_context): Delete issue_warnings_are_errors_message. Add some_warnings_are_errors. (diagnostic_finish): Declare. * toplev.c (toplev_main): Call it before exit. testsuite/ * gcc.dg/Werror-6.c: Adjust. * gcc.dg/Werror-implicit-function-declaration.c: Likewise. * gcc.dg/Werror-4.c: Likewise. * gcc.dg/Wdeclaration-after-statement-3.c: Likewise. * gcc.dg/Wswitch-enum-error.c: Likewise. * gcc.dg/Wpointer-arith.c: Likewise. * gcc.dg/Wfatal.c: Likewise. * gcc.dg/Wswitch-error.c: Likewise. * g++.dg/warn/unused-result1-Werror.c: Likewise. * gcc.dg/Werror-9.c: Delete. Duplicate of Werror-4.c. * gcc.dg/cpp/warn-undef-2.c: Likewise. * gcc.dg/cpp/warn-traditional-2.c: Likewise. * gcc.dg/cpp/warn-comments-2.c: Likewise. * gcc.dg/cpp/warn-variadic-2.c: Likewise. * gcc.dg/cpp/warning-directive-2.c: Likewise. * gcc.dg/cpp/warn-long-long-2.c: Likewise. * gcc.dg/cpp/warn-deprecated-2.c: Likewise. * gcc.dg/cpp/warn-multichar-2.c: Likewise. * gcc.dg/cpp/warn-normalized-3.c: Likewise. * gcc.dg/cpp/warn-cxx-compat-2.c: Likewise. * gcc.dg/cpp/warn-trigraphs-3.c: Likewise. * gcc.dg/cpp/warn-unused-macros-2.c: Likewise. * gcc.dg/cpp/warn-trigraphs-4.c: Likewise. * gcc.dg/cpp/warn-redefined-2.c: Likewise. * g++.dg/cpp/warning-directive-2.C: Likewise. * gfortran.dg/warning-directive-2.F90: Likewise. Removed: trunk/gcc/testsuite/gcc.dg/Werror-9.c Modified: trunk/gcc/ChangeLog trunk/gcc/diagnostic.c trunk/gcc/diagnostic.h trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/cpp/warning-directive-2.C trunk/gcc/testsuite/g++.dg/warn/unused-result1-Werror.c trunk/gcc/testsuite/gcc.dg/Wdeclaration-after-statement-3.c trunk/gcc/testsuite/gcc.dg/Werror-4.c trunk/gcc/testsuite/gcc.dg/Werror-6.c trunk/gcc/testsuite/gcc.dg/Werror-implicit-function-declaration.c trunk/gcc/testsuite/gcc.dg/Wfatal.c trunk/gcc/testsuite/gcc.dg/Wpointer-arith.c trunk/gcc/testsuite/gcc.dg/Wswitch-enum-error.c trunk/gcc/testsuite/gcc.dg/Wswitch-error.c trunk/gcc/testsuite/gcc.dg/cpp/warn-comments-2.c trunk/gcc/testsuite/gcc.dg/cpp/warn-cxx-compat-2.c trunk/gcc/testsuite/gcc.dg/cpp/warn-deprecated-2.c trunk/gcc/testsuite/gcc.dg/cpp/warn-long-long-2.c trunk/gcc/testsuite/gcc.dg/cpp/warn-multichar-2.c trunk/gcc/testsuite/gcc.dg/cpp/warn-normalized-3.c trunk/gcc/testsuite/gcc.dg/cpp/warn-redefined-2.c trunk/gcc/testsuite/gcc.dg/cpp/warn-traditional-2.c trunk/gcc/testsuite/gcc.dg/cpp/warn-trigraphs-3.c trunk/gcc/testsuite/gcc.dg/cpp/warn-trigraphs-4.c trunk/gcc/testsuite/gcc.dg/cpp/warn-undef-2.c trunk/gcc/testsuite/gcc.dg/cpp/warn-unused-macros-2.c trunk/gcc/testsuite/gcc.dg/cpp/warn-variadic-2.c trunk/gcc/testsuite/gcc.dg/cpp/warning-directive-2.c trunk/gcc/testsuite/gfortran.dg/warning-directive-2.F90 trunk/gcc/toplev.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42965 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug other/42965] no "warnings being treated as errors" for individual -Werror=x options 2010-02-05 1:10 [Bug other/42965] New: no "warnings being treated as errors" for individual -Werror=x options manu at gcc dot gnu dot org ` (3 preceding siblings ...) 2010-04-09 15:47 ` manu at gcc dot gnu dot org @ 2010-04-09 15:47 ` manu at gcc dot gnu dot org 2010-04-09 15:54 ` manu at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: manu at gcc dot gnu dot org @ 2010-04-09 15:47 UTC (permalink / raw) To: gcc-bugs ------- Comment #5 from manu at gcc dot gnu dot org 2010-04-09 15:47 ------- FIXED for GCC 4.6 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42965 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug other/42965] no "warnings being treated as errors" for individual -Werror=x options 2010-02-05 1:10 [Bug other/42965] New: no "warnings being treated as errors" for individual -Werror=x options manu at gcc dot gnu dot org ` (4 preceding siblings ...) 2010-04-09 15:47 ` manu at gcc dot gnu dot org @ 2010-04-09 15:54 ` manu at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: manu at gcc dot gnu dot org @ 2010-04-09 15:54 UTC (permalink / raw) To: gcc-bugs ------- Comment #6 from manu at gcc dot gnu dot org 2010-04-09 15:54 ------- FIXED for GCC 4.6 -- manu at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42965 ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-04-09 15:54 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-02-05 1:10 [Bug other/42965] New: no "warnings being treated as errors" for individual -Werror=x options manu at gcc dot gnu dot org 2010-02-05 1:23 ` [Bug other/42965] " manu at gcc dot gnu dot org 2010-02-07 20:59 ` pinskia at gcc dot gnu dot org 2010-02-27 18:48 ` manu at gcc dot gnu dot org 2010-04-09 15:47 ` manu at gcc dot gnu dot org 2010-04-09 15:47 ` manu at gcc dot gnu dot org 2010-04-09 15:54 ` manu at gcc dot gnu dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).