"C. Bergström" <[email protected]> writes:
> When compiling a larger c++ code I found that our compiler defines
> _XOPEN_SOURCE and sunCC doesn't. Upon digging into the issue it seems g++
> defines it as well, but I can't figure out the correct/standards compliant
> behavior. On this one my gut feeling is sunCC is doing the Right
> Thing(tm). Can anyone else please comment as I'd like to get this resolved
> asap.
g++ only does this or similar on various platforms since libstdc++ likes
to make use of C99 and newer POSIX.1/XPG6 features to ensure they are
available.
Nothing to be mimiced in other compilers.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
_______________________________________________
tools-compilers mailing list
[email protected]