This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Why -D_XOPEN_SOURCE=500 for Solaris?
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Craig Rodrigues <rodrigc at attbi dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: 23 Feb 2002 01:46:51 -0300
- Subject: Re: Why -D_XOPEN_SOURCE=500 for Solaris?
- Organization: GCC Team, Red Hat
- References: <20020222233254.A32064@attbi.com>
On Feb 23, 2002, Craig Rodrigues <rodrigc@attbi.com> wrote:
> In PR 4915, the submitter asked why on _XOPEN_SOURCE
> on Solaris is defined to 500 with g++ but not
> with gcc.
IIRC, it's because libstdc++-v3 depends on some of the features of
Solaris that are only declared/defined when this macro is defined.
Same as -D_GNU_SOURCE on GNU/Linux.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer