feature_test_macros.7: Note effects of "cc -std=c99" and "cc -std=c11"

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-02-12 13:27:44 +01:00
parent cd2d5ec163
commit 50d844a9f1
1 changed files with 8 additions and 0 deletions

View File

@ -335,11 +335,19 @@ Defining
.B _ISOC99_SOURCE
also exposes ISO C (1990) Amendment 1 ("C95") definitions.
(The primary change in C95 was support for international character sets.)
Invoking the C compiler with the option
.IR \-std=c99
produces the same effects as defining this macro.
.TP
.BR _ISOC11_SOURCE " (since glibc 2.16)"
Exposes declarations consistent with the ISO C11 standard.
Defining this macro also enables C99 and C95 features (like
.BR _ISOC99_SOURCE ).
Invoking the C compiler with the option
.IR \-std=c11
produces the same effects as defining this macro.
.TP
.B _LARGEFILE64_SOURCE
Expose definitions for the alternative API specified by the