This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libobjc/63765] [5.0 Regression] libobjc testsuite failures on AIX caused by setting _XOPEN_SOURCE
- From: "ro at CeBiTec dot Uni-Bielefeld.DE" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 11 Nov 2014 14:19:00 +0000
- Subject: [Bug libobjc/63765] [5.0 Regression] libobjc testsuite failures on AIX caused by setting _XOPEN_SOURCE
- Auto-submitted: auto-generated
- References: <bug-63765-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63765
--- Comment #12 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
> Let's go with the one defining _XOPEN_SOURCE only for Solaris until someone
> programs David's suggestion of the host-specific configure file.
Huh? As I've just checked, both Solaris and Linux/x86_64 do fine
without any definition of _XOPEN_SOURCE at all, as does AIX. Only if
_XOPEN_SOURCE is defined at all does Solaris need a value >= 600 with
C99 and beyond.
The attached patch does just that.
Rainer