This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/82610] [8 Regression] Bootstrap fails on macOS 10.13 and FreeBSD 11.1 because of abort redefinition
- From: "palves at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 23 Oct 2017 10:55:38 +0000
- Subject: [Bug bootstrap/82610] [8 Regression] Bootstrap fails on macOS 10.13 and FreeBSD 11.1 because of abort redefinition
- Auto-submitted: auto-generated
- References: <bug-82610-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82610
Pedro Alves <palves at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |palves at redhat dot com
--- Comment #4 from Pedro Alves <palves at redhat dot com> ---
I think it makes sense to keep including <memory> in unique-ptr.h, because the
header needs that, and projects other than GCC will want to use this file.
Including it in both system.h and leaving it in unique-ptr.h should work fine
for GCC, assuming <memory> has proper include guards?
(IMO, #pragma poison should ignore references in system headers and then these
weird contortions GCC goes through in system.h would no longer be necessary.)