jextract unable to find limits.h from limits.h
Jorn Vernee
jorn.vernee at oracle.com
Tue Nov 19 12:14:42 UTC 2019
On 18/11/2019 22:11, Ty Young wrote:
>> The error you are seeing looks like the error caused by a behavioral
>> change of one of the libclang APIs in LLVM 8+. For now, only LLVM
>> version 7 is supported (but there is
>> https://bugs.openjdk.java.net/browse/JDK-8234237 for updating to 9).
>
>
> To be clear, if v9 headers are specified when compiling from source
> will this fix the errors or will a change in the JDK source itself be
> required?
Changes in the JDK source will be required. Namely, we need to call
another function to find whether a struct is a nested anonymous struct,
as well as update some of the type/cursor kind enums. There are also
other things like support for IncompleteArray field types that was fixed
in LLVM 9 and we can start taking advantage of that.
Jorn
More information about the panama-dev
mailing list