]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c-common.c
* c-format.c (gcc_diag_char_table): Add %J.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 21 Sep 2003 05:07:20 +0000 (05:07 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 21 Sep 2003 05:07:20 +0000 (05:07 +0000)
commit9bc3739ff5286405148970f7ec7db806dc17440d
tree28f355780724c452ad42bb81a3672b2e8010c989
parent27d8c9a2bd7e557d79e90f4821deb857bd0a1542
    * c-format.c (gcc_diag_char_table): Add %J.
        (gcc_cdiag_char_table, gcc_cxxdiag_char_table): Likewise.
        (check_format_types): Fix wanted_type name lookup.
        (init_dynamic_diag_info): Setup %J.
        * diagnostic.c (text_specifies_location): Implement %J.
        * c-common.c, c-decl.c, c-objc-common.c, c-pragma.c, calls.c,
        dwarfout.c, expr.c, function.c, stmt.c, stor-layout.c, toplev.c,
        tree-inline.c, tree-optimize.c, varasm.c, config/arm/pe.c,
        config/i386/winnt.c, config/ia64/ia64.c, config/mcore/mcore.c,
        config/v850/v850.c, objc/objc-act.c: Use %J in diagnostics.

        * tree-inline.c: Include intl.h
        (inline_forbidden_p_1): Fix i18n of inline_forbidden_reason.
        * Makefile.in (tree-inline.o): Update.
cp/
        * decl.c, decl2.c, pt.c: Use %J in diagnostics.
java/
        * check-init.c, class.c, decl.c, expr.c: Use %J in diagnostics.
testsuite/
        * gcc.dg/format/gcc_diag-1.c: Add tests for %J.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71619 138bc75d-0d04-0410-961f-82ee72b054a4
36 files changed:
gcc/ChangeLog
gcc/Makefile.in
gcc/c-common.c
gcc/c-decl.c
gcc/c-format.c
gcc/c-objc-common.c
gcc/c-pragma.c
gcc/calls.c
gcc/config/arm/pe.c
gcc/config/i386/winnt.c
gcc/config/ia64/ia64.c
gcc/config/mcore/mcore.c
gcc/config/v850/v850.c
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/pt.c
gcc/diagnostic.c
gcc/dwarfout.c
gcc/expr.c
gcc/function.c
gcc/java/ChangeLog
gcc/java/check-init.c
gcc/java/class.c
gcc/java/decl.c
gcc/java/expr.c
gcc/objc/objc-act.c
gcc/stmt.c
gcc/stor-layout.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/format/gcc_diag-1.c
gcc/toplev.c
gcc/tree-inline.c
gcc/tree-optimize.c
gcc/varasm.c