RFR: 7903148: jextract crashes when C11 keyword _Static_Assert is used in a header [v2]
Athijegannathan Sundararajan
sundar at openjdk.java.net
Thu Apr 7 09:57:35 UTC 2022
On Thu, 7 Apr 2022 09:08:58 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> Athijegannathan Sundararajan has updated the pull request incrementally with one additional commit since the last revision:
>>
>> addressing review comments.
>
> 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).
expanded that test as suggested.
-------------
PR: https://git.openjdk.java.net/jextract/pull/15
More information about the jextract-dev
mailing list