From 50d844a9f16f1604a1bc209d6a4d3af58079c331 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 12 Feb 2016 13:27:44 +0100 Subject: [PATCH] feature_test_macros.7: Note effects of "cc -std=c99" and "cc -std=c11" Signed-off-by: Michael Kerrisk --- man7/feature_test_macros.7 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/man7/feature_test_macros.7 b/man7/feature_test_macros.7 index 485ac9e8b..a37a61c9f 100644 --- a/man7/feature_test_macros.7 +++ b/man7/feature_test_macros.7 @@ -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