This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/24012] [3.4/4.0/4.1 regression] #define _POSIX_C_SOURCE breaks #include <iostream>
- From: "ljrittle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Sep 2005 19:20:44 -0000
- Subject: [Bug target/24012] [3.4/4.0/4.1 regression] #define _POSIX_C_SOURCE breaks #include <iostream>
- References: <20050922151550.24012.gerald@pfeifer.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From ljrittle at gcc dot gnu dot org 2005-09-22 19:20 -------
The better way to fix this IMHO is to mirror how we fixed other conditionally
missing symbols. Add a _DYNAMIC hook, add the support guards in various places
where the HAVE_X guards exist, add a correctly written define in os_defines.h to
describe the OS-level macro used to key the visibility of the "standard"
function or other symbol. See the current FreeBSD os_defines.h for some examples.
In my further opinion, this is merely a QoI issue (granted, annoying): The user
defining a macro in implementor space may get this type of result.
Regards,
Loren
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-09-22 19:20:40
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24012