conform: add ISO23 data for __STDC_VERSION_*__
Checks
Commit Message
---
conform/data/assert.h-data | 4 ++++
conform/data/complex.h-data | 4 ++++
conform/data/fenv.h-data | 4 ++++
conform/data/float.h-data | 4 ++++
conform/data/inttypes.h-data | 4 ++++
conform/data/limits.h-data | 4 ++++
conform/data/math.h-data | 4 ++++
conform/data/setjmp.h-data | 4 ++++
conform/data/stdarg.h-data | 4 ++++
conform/data/stddef.h-data | 4 ++++
conform/data/stdint.h-data | 4 ++++
conform/data/stdio.h-data | 4 ++++
conform/data/stdlib.h-data | 4 ++++
conform/data/string.h-data | 4 ++++
conform/data/tgmath.h-data | 4 ++++
conform/data/time.h-data | 4 ++++
conform/data/uchar.h-data | 4 ++++
conform/data/wchar.h-data | 4 ++++
18 files changed, 72 insertions(+)
@@ -1,3 +1,7 @@
+#if defined ISO23
+macro-int-constant __STDC_VERSION_ASSERT_H__ == 202311L
+#endif
+
macro assert
#if defined ISO11 || defined XOPEN2K24 || defined POSIX2024
@@ -1,4 +1,8 @@
#if !defined ISO && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
+#if defined ISO23
+macro-int-constant __STDC_VERSION_COMPLEX_H__ == 202311L
+#endif
+
macro complex
macro _Complex_I
optional-macro imaginary
@@ -1,4 +1,8 @@
#if !defined ISO && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
+#if defined ISO23
+macro-int-constant __STDC_VERSION_FENV_H__ == 202311L
+#endif
+
type fenv_t
type fexcept_t
@@ -1,3 +1,7 @@
+#if defined ISO23
+macro-int-constant __STDC_VERSION_FLOAT_H__ == 202311L
+#endif
+
macro-int-constant FLT_RADIX >= 2
macro FLT_ROUNDS
@@ -1,6 +1,10 @@
#if !defined ISO && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
#include "stdint.h-data"
+#if defined ISO23
+macro-int-constant __STDC_VERSION_INTTYPES_H__ == 202311L
+#endif
+
type imaxdiv_t
element imaxdiv_t intmax_t rem
element imaxdiv_t intmax_t quot
@@ -1,3 +1,7 @@
+#if defined ISO23
+macro-int-constant __STDC_VERSION_LIMITS_H__ == 202311L
+#endif
+
macro-int-constant CHAR_BIT >= 8
macro-int-constant SCHAR_MIN {promoted:signed char} <= -127
macro-int-constant SCHAR_MAX {promoted:signed char} >= 127
@@ -1,3 +1,7 @@
+#if defined ISO23
+macro-int-constant __STDC_VERSION_MATH_H__ == 202311L
+#endif
+
macro-constant HUGE_VAL {double}
#if !defined ISO && !defined POSIX
@@ -1,3 +1,7 @@
+#if defined ISO23
+macro-int-constant __STDC_VERSION_SETJMP_H__ == 202311L
+#endif
+
type jmp_buf
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
type sigjmp_buf
@@ -1,3 +1,7 @@
+#if defined ISO23
+macro-int-constant __STDC_VERSION_STDARG_H__ == 202311L
+#endif
+
type va_list
// XXX We didn't check the parameters.
@@ -1,3 +1,7 @@
+#if defined ISO23
+macro-int-constant __STDC_VERSION_STDDEF_H__ == 202311L
+#endif
+
macro-constant NULL == 0
macro offsetof
@@ -1,4 +1,8 @@
#if !defined ISO && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
+#if defined ISO23
+macro-int-constant __STDC_VERSION_STDINT_H__ == 202311L
+#endif
+
// The requirements for some types and corresponding macros are from POSIX.
type int8_t
type int16_t
@@ -1,3 +1,7 @@
+#if defined ISO23
+macro-int-constant __STDC_VERSION_STDIO_H__ == 202311L
+#endif
+
macro-int-constant BUFSIZ >= 256
macro-int-constant FILENAME_MAX
macro-int-constant FOPEN_MAX >= 8
@@ -1,3 +1,7 @@
+#if defined ISO23
+macro-int-constant __STDC_VERSION_STDLIB_H__ == 202311L
+#endif
+
type div_t
element div_t int quot
element div_t int rem
@@ -1,3 +1,7 @@
+#if defined ISO23
+macro-int-constant __STDC_VERSION_STRING_H__ == 202311L
+#endif
+
macro-constant NULL == 0
type size_t
@@ -2,6 +2,10 @@
#include "math.h-data"
#include "complex.h-data"
+#if defined ISO23
+macro-int-constant __STDC_VERSION_TGMATH_H__ == 202311L
+#endif
+
macro acos
macro asin
macro atan
@@ -1,3 +1,7 @@
+#if defined ISO23
+macro-int-constant __STDC_VERSION_TIME_H__ == 202311L
+#endif
+
macro-constant NULL == 0
macro CLOCKS_PER_SEC {clock_t}
@@ -1,4 +1,8 @@
#if defined ISO11 || defined ISO23 || defined XOPEN2K24 || defined POSIX2024
+#if defined ISO23
+macro-int-constant __STDC_VERSION_UCHAR_H__ == 202311L
+#endif
+
type mbstate_t
type size_t
type char16_t
@@ -1,4 +1,8 @@
#if !defined ISO && !defined POSIX && !defined XPG4 && !defined XPG42
+#if defined ISO23
+macro-int-constant __STDC_VERSION_WCHAR_H__ == 202311L
+#endif
+
type wchar_t
type wint_t
# if !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX2008 && !defined POSIX2024