Skip to content

Commit e80d86a

Browse files
nashifkartben
authored andcommitted
sca: eclair: substitute deprecated service STD.emptrecd
The ECLAIR service STD.emptrecd (which checks for empty structures) is now deprecated. Use STD.anonstct (which checks for structures with no named members, an UB in C99) Based on a change by Nicola Vetrini in the Xen project: https://lists.xenproject.org/archives/html/xen-changelog/2024-12/msg00125.html Signed-off-by: Anas Nashif <anas.nashif@intel.com>
1 parent 728a018 commit e80d86a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/sca/eclair/ECL/toolchain.ecl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ Variables\";
5050
-config=STD.emptinit,behavior={c18,GCC,specified}
5151
-doc_end
5252
-doc_begin="See Chapter \"6.19 Structures with No Members\" of "GCC_MANUAL"."
53-
-config=STD.emptrecd,behavior={c99,GCC,specified}
54-
-config=STD.emptrecd,behavior={c18,GCC,specified}
53+
-config=STD.anonstct,behavior={c99,GCC,specified}
54+
-config=STD.anonstct,behavior={c18,GCC,specified}
5555
-doc_end
5656
-doc="See Chapter \"6.18 Arrays of Length Zero\" of "GCC_MANUAL"."
5757
-config=STD.arayzero,behavior={c99,GCC,specified}

0 commit comments

Comments
 (0)