From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DC394385840D; Thu, 4 Apr 2024 07:37:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DC394385840D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1712216262; bh=5CXWAv8fsPcBNTylWPbrKscOhNwMvryfYtL68JJlfpI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=rDrOChiyqcBek+jLiI5UPJWCDfKkYgvnkJ8P9p+J97fOi1KgAj6Appne9xwtN5fFA UsaTTBiz0Ek/h9/S7nPqia18PzGT84KFW+y7sJzi5EEdnVuh5LJRG+FXKR024z29Bs K+hx2/swUhsKNzkBAbFjT6l0H/u5UrcyDOLd4RC0= From: "lsix at lancelotsix dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/31420] Use std::filesystem::remove_all in compile.c Date: Thu, 04 Apr 2024 07:37:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lsix at lancelotsix dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31420 Lancelot SIX changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lsix at lancelotsix dot com --- Comment #4 from Lancelot SIX --- I had a look a t various compiler versions. - gcc-7.5 does not have std::filesystem support available, so if we want to keep supporting this compiler, we can't move to remove_all. - gcc-8 has std::filesystem, but using it require using "-lstdc++fs".=20 Supporting this compiler would require an extra configure step to check if = this flag is required. - starting gcc-9, std::filesytem is available without extra compiler flags. For now, I=E2=80=AFthink we will try to maintain gcc-7.5 compatibility as i= t is still used. This will need to be revisited at some point. --=20 You are receiving this mail because: You are on the CC list for the bug.=