https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117109

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by David Malcolm <dmalc...@gcc.gnu.org>:

https://gcc.gnu.org/g:23e7b702521aa5611eeee060a0b8dd194f3801fc

commit r15-4343-g23e7b702521aa5611eeee060a0b8dd194f3801fc
Author: David Malcolm <dmalc...@redhat.com>
Date:   Mon Oct 14 19:22:46 2024 -0400

    diagnostics: fix overload of emit_diagnostic [PR117109]

    I accidentally broke "make gcc.pot" in r15-4081 by adding
    a member function diagnostic_context::emit_diagnostic with a
    gmsgid in a different position to the existing emit_diagnostic
    functions, which exgettext's parser can't handle.

    Fixed thusly.

    gcc/ChangeLog:
            PR bootstrap/117109
            * diagnostic-format-sarif.cc
            (diagnostic_output_format_init_sarif_file): Rename
            diagnostic_context::emit_diagnostic to
            diagnostic_context::emit_diagnostic_with_group.
            * diagnostic.cc (diagnostic_context::emit_diagnostic): Rename
            to...
            (diagnostic_context::emit_diagnostic_with_group): ...this.
            (diagnostic_context::emit_diagnostic_va): Rename to...
            (diagnostic_context::emit_diagnostic_with_group_va): ...this.
            * diagnostic.h (diagnostic_context::emit_diagnostic): Rename to...
            (diagnostic_context::emit_diagnostic_with_group): ...this.
            (diagnostic_context::emit_diagnostic_va): Rename to...
            (diagnostic_context::emit_diagnostic_with_group_va): ...this.

    Signed-off-by: David Malcolm <dmalc...@redhat.com>

Reply via email to