This is the mail archive of the gcc@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]

Re: Why -D_XOPEN_SOURCE=500 for Solaris?


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


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