Posix and C macros

Ian Lance Taylor iant@google.com
Fri Aug 14 10:59:00 GMT 2009


Maurí­cio CA <mauricio.antunes@gmail.com> writes:

> I've been writing a binding to posix from a different
> (i.e., not C) language, and I realized there are many
> macros that activate or deactivate a lot of C99 and
> Posix. Is there a list of such macros, so that I can
> use it to support properly all extensions or subsets
> of Posix and C standard library?

This is actually a library issue, not a compiler issue.  These macros do
not affect the compiler.

If you are using glibc, see <features.h>.

Ian



More information about the Gcc-help mailing list