File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -3222,8 +3222,11 @@ LDFLAGS=`"$@{R_HOME@}/bin/R" CMD config LDFLAGS`
32223222The (claimed) C standard in use can be checked by the macro
32233223@code{__STDC_VERSION__}. This is undefined in C89/C90 and should have
32243224values @code{199901L}, @code{201112L} and @code{201710L} for C99, C11
3225- and C17. The definitive value for C23 seems to be @code{202311L} but
3226- compilers are currently using @code{202000L}.
3225+ and C17. The definitive value for C23 is @code{202311L} but some
3226+ compilers@footnote{for example @command{gcc} 14 and Apple
3227+ @command{clang} 16, but not LLVM @command{clang 18} and later.} are
3228+ currently using @code{202000L} and requiring the standard to be
3229+ specified as @code{c2x}.
32273230@c https://gustedt.gitlabpages.inria.fr/c23-library/
32283231C23 has macros similar to C++ `feature tests' for many of its changes,
32293232for example @code{__STDC_VERSION_LIMITS_H__}.
You can’t perform that action at this time.
0 commit comments