conform: don't expect macros for new C23 keywords
Checks
| Context |
Check |
Description |
| redhat-pt-bot/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
| redhat-pt-bot/TryBot-32bit |
success
|
Build for i686
|
| linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_glibc_build--master-arm |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_glibc_check--master-arm |
success
|
Test passed
|
| linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 |
success
|
Test passed
|
Commit Message
---
conform/data/assert.h-data | 2 +-
conform/data/stdalign.h-data | 6 +++++-
conform/data/stdbool.h-data | 2 ++
conform/data/threads.h-data | 2 ++
4 files changed, 10 insertions(+), 2 deletions(-)
@@ -1,6 +1,6 @@
macro assert
-#if defined ISO11 || defined ISO23 || defined XOPEN2K24 || defined POSIX2024
+#if defined ISO11 || defined XOPEN2K24 || defined POSIX2024
macro static_assert
#endif
@@ -1,6 +1,10 @@
-#if defined ISO11 || defined ISO23 || defined XOPEN2K24 || defined POSIX2024
+#if defined ISO11 || defined XOPEN2K24 || defined POSIX2024
macro alignas
macro alignof
macro-int-constant __alignas_is_defined {int} == 1
macro-int-constant __alignof_is_defined {int} == 1
#endif
+#if defined ISO23
+// Dummy expectation needed for check-header-lists
+allow __*
+#endif
@@ -1,7 +1,9 @@
#if !defined ISO && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
+#if !defined ISO23
macro bool
macro-int-constant true {int} == 1
macro-int-constant false {int} == 0
+#endif
macro-int-constant __bool_true_false_are_defined {int} == 1
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
@@ -1,7 +1,9 @@
#if defined ISO11 || defined ISO23 || defined XOPEN2K24 || defined POSIX2024
macro ONCE_FLAG_INIT
+#if !defined ISO23
macro thread_local
+#endif
macro-int-constant TSS_DTOR_ITERATIONS
constant thrd_success