jextract on Windows
Duncan Gittins
duncan.gittins at gmail.com
Wed Feb 14 16:42:59 UTC 2024
I've just pulled the latest jextract master branch (I think!), and re-run
my build for JDK22 on Windows.
Please ignore if you are mid-way though any fixes or already known issue.
There appears to be a glitch with the snippet generation. If any component
of an include file starts with "u", it is treated as an invalid \uXXXX
character sequence by javac
/**
* Setter for field:
* {@snippet lang=c :
* union (anonymous union at C:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um\winnt.h:16446:5) Flags
* }
*/
PROCESSOR_IDLESTATE_POLICY.java:222: error: illegal unicode escape
[javac] * union (anonymous union at C:\Program Files (x86)\Windows
Kits\10\include\10.0.18362.0\um\winnt.h:16446:5) Flags
[javac]
It's from jextract without symbol filters, but not on any definitions I use:
#include <shlobj_core.h>
#include <objbase.h>
Kind regards
Duncan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jextract-dev/attachments/20240214/bf2436aa/attachment.htm>
More information about the jextract-dev
mailing list