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

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

https://gcc.gnu.org/g:40597e5d10c8828e49bd0576d3c96c007c1f3591

commit r17-5823-g40597e5d10c8828e49bd0576d3c96c007c1f3591
Author: David Malcolm <[email protected]>
Date:   Thu Oct 29 09:32:36 2026 -0400

    Define INCLUDE_STRING in more places [PR128311]

    In r17-5669-g4a6c15e64ea599 I added a use of std::string to json.h
    Define INCLUDE_STRING before system.h in more places to ensure <string>
    is included.

    gcc/ChangeLog:
            PR diagnostics/128311
            * custom-sarif-properties/cfg.cc: Define INCLUDE_STRING.
            * custom-sarif-properties/digraphs.cc: Likewise.
            * custom-sarif-properties/state-graphs.cc: Likewise.
            * gimple-pretty-print.cc: Likewise.
            * optinfo-emit-json.cc: Likewise.
            * optinfo.cc: Likewise.
            * print-rtl.cc: Likewise.
            * selftest-json.cc: Likewise.
            * timevar.cc: Likewise.

    Signed-off-by: David Malcolm <[email protected]>

Reply via email to