From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C70793858C56; Mon, 11 Dec 2023 17:33:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C70793858C56 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1702316010; bh=mJBWwTfo3EEP4IoOqdxECg4CL62zCE6lRLqq6AZIuKc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=WL3nnM6TbSAXT3y9K3fygXHJH7M4FZwZnP46zxuMPGVc6hogkqR1KJ5ZZEgmmGQzj 7PvJK2/U4LLLoy+aUip4X4u0Wvhcktcw9Te+ML5RYa9GuxqBf7nkSR4D/7sPoCZXPE c7eIAewHiMo8kv0e80/MvNbazAB3aTFvkdxW0AY8= From: "jremus at linux dot ibm.com" To: gdb-prs@sourceware.org Subject: [Bug build/31141] gdbsupport fails to compile with clang due to missing C++ prototype for operator delete Date: Mon, 11 Dec 2023 17:33:30 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: build X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jremus at linux dot ibm.com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tromey at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D31141 --- Comment #3 from Jens Remus --- Thanks, Tom! Peeking at /usr/include/c++/13/new it looks like both subject operator delete instances are guarded by __cpp_sized_deallocation: #if __cpp_sized_deallocation void operator delete(void*, std::size_t) _GLIBCXX_USE_NOEXCEPT __attribute__((__externally_visible__)); void operator delete[](void*, std::size_t) _GLIBCXX_USE_NOEXCEPT __attribute__((__externally_visible__)); #endif Maybe that helps identify what would need to be changed in the build to mak= e it work with clang? --=20 You are receiving this mail because: You are on the CC list for the bug.=