RFR: 7903148: jextract crashes when C11 keyword _Static_Assert is used in a header

Maurizio Cimadamore mcimadamore at openjdk.java.net
Thu Apr 7 09:12:10 UTC 2022


On Thu, 7 Apr 2022 05:47:11 GMT, Athijegannathan Sundararajan <sundar at openjdk.org> wrote:

> Added missing CursorKind enum value.

test/java/org/openjdk/jextract/test/toolprovider/test7903148.h line 24:

> 22:  */
> 23: 
> 24: _Static_assert(1 == 1, "what??");

maybe we should put another member after, just in case, to make sure that the resulting bindings have only one symbol (for the non-assert declaration).

-------------

PR: https://git.openjdk.java.net/jextract/pull/15


More information about the jextract-dev mailing list