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 and FreeBSD 11.1 because of abort redefinition


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.)

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