jextract fails when C11 keyword _Static_Assert is used in a header.
File: test.h
_Static_assert(1 == 1, "what??");
$ jextract test.h
_Static_assert(1 == 1, "what??");
When assert.h is included in a header and static_assert is used (which is a macro expands to _Static_assert when C language is used).
File: test2.h
#include <assert.h>
static_assert(1 == 1, "what??");
jextract test2.h also fails with
Invalid Cursor kind value: 602
File: test.h
_Static_assert(1 == 1, "what??");
$ jextract test.h
_Static_assert(1 == 1, "what??");
When assert.h is included in a header and static_assert is used (which is a macro expands to _Static_assert when C language is used).
File: test2.h
#include <assert.h>
static_assert(1 == 1, "what??");
jextract test2.h also fails with
Invalid Cursor kind value: 602