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 because of abort redefinition
- From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 19 Oct 2017 14:22:29 +0000
- Subject: [Bug bootstrap/82610] [8 Regression] Bootstrap fails on macOS 10.13 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
--- Comment #2 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Sorry about the breakage.
(In reply to Richard Biener from comment #1)
> Hmm, include/ shouldn't include system headers directly :/ Of course they
> all do...
>
> <memory> is probably not too bad to include unconditionally, but maybe we
> can avoid including that for unique-ptr.h? Quickly browsing doesn't find
> anything
> needing it?
Nothing is using gnu::unique_ptr currently, but I hope to start using it in
e.g.:
https://gcc.gnu.org/ml/gcc-patches/2017-10/msg01021.html
On C++-11 and beyond that's std::unique_ptr, and hence <memory> would be
needed.