This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/24012] [5/6/7 regression] #define _POSIX_C_SOURCE breaks #include <iostream>
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 27 Mar 2017 13:05:27 +0000
- Subject: [Bug target/24012] [5/6/7 regression] #define _POSIX_C_SOURCE breaks #include <iostream>
- Auto-submitted: auto-generated
- References: <bug-24012-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24012
--- Comment #20 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Also, I assume this is only a problem for -std=c++98 or -std=gnu++98, because
if the system headers don't declare those functions for C++11 and later
dialects then that's a bug in those system headers.