This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/82610] [8 Regression] Bootstrap fails on macOS 10.13 because of abort redefinition


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]