[Bug gdb/31420] Use std::filesystem::remove_all in compile.c

cvs-commit at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Wed Apr 3 15:31:40 GMT 2024


https://sourceware.org/bugzilla/show_bug.cgi?id=31420

--- Comment #3 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Lancelot SIX <lsix@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f89ae595dd1f5195dd6e8e57bc2217463c436888

commit f89ae595dd1f5195dd6e8e57bc2217463c436888
Author: Lancelot SIX <lancelot.six@amd.com>
Date:   Wed Apr 3 15:39:10 2024 +0100

    Revert "gdb/compile: Use std::filesystem::remove_all in cleanup"

    This reverts commit 7bba0ad08576309763e3f41193eaa93025e10b8b.

    Tom de Vries reported that 7bba0ad0857 (gdb/compile: Use
    std::filesystem::remove_all in cleanup) broke builds with gcc-7.5.0
    which mostly supports c++17, but not std::filesystem[1].  As this change
    is not critical, revert it to maintain compatibility.

    [1]
https://inbox.sourceware.org/gdb-patches/a06e6483-aa2e-4b8a-854f-e369a1e961ea@suse.de/

    Change-Id: I58150bd27600c95052bdf1bbbd6b44718a5a0bbf
    Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31420
    Approved-By: Tom Tromey <tom@tromey.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list