This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Don't claim GCC predefines __POSIX__
On Fri, Feb 17, 2012 at 3:16 PM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> On Fri, 17 Feb 2012, Carlos O'Donell wrote:
>
>> How do you test that you are on a POSIX compliant system?
>
> Practically, run autoconf tests for the features you care about, which are
> unlikely to be 100% conformance. ?For 100% conformance, run a conformance
> testsuite - or if anyone does POSIX certification, look at a list of
> certified systems.
I fully understand the complexity of saying a system is or is not
fully POSIX is not trivially detectable by the compiler.
Thanks for fixing up the manual.
Cheers,
Carlos.