http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48087



--- Comment #24 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-03-21 
20:02:55 UTC ---

Author: jakub

Date: Thu Mar 21 17:36:47 2013

New Revision: 196887



URL: http://gcc.gnu.org/viewcvs?rev=196887&root=gcc&view=rev

Log:

    PR middle-end/48087

    * diagnostic.def (DK_WERROR): New kind.

    * diagnostic.h (werrorcount): Define.

    * diagnostic.c (diagnostic_report_diagnostic): For DK_WARNING

    promoted to DK_ERROR, increment DK_WERROR counter instead of

    DK_ERROR counter.

    * toplev.c (toplev_main): Call print_ignored_options even if

    just werrorcount is non-zero.  Exit with FATAL_EXIT_CODE

    even if just werrorcount is non-zero.



    * pt.c (convert_nontype_argument): Count werrorcount as warnings.

    * call.c (build_temp): Likewise.

    * method.c (synthesize_method): Likewise.

    * typeck.c (convert_for_initialization): Likewise.



Modified:

    trunk/gcc/ChangeLog

    trunk/gcc/cp/ChangeLog

    trunk/gcc/cp/call.c

    trunk/gcc/cp/method.c

    trunk/gcc/cp/pt.c

    trunk/gcc/cp/typeck.c

    trunk/gcc/diagnostic.c

    trunk/gcc/diagnostic.def

    trunk/gcc/diagnostic.h

    trunk/gcc/toplev.c

Reply via email to