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 libstdc++/60491] Macros defined in sys/sysmacros.h pulled in by <iterator> even in -std=c++11


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60491

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Will Mitchell from comment #0)
> I'm filing again because my expectation is that -std=c++11 wouldn't pull in
> these macros.

I don't know why you thought -std=c++11 would change anything :-)

To fix this we need to stop defining _GNU_SOURCE unconditionally, which I'm
going to work on after the 4.9 release.

*** This bug has been marked as a duplicate of bug 51749 ***


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