<div dir="ltr"><div>
I've just pulled the latest jextract master branch (I think!), and re-run my build for JDK22 on Windows. <br></div><div><br></div><div>
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
</div><div><br></div><div><div style="background-color:rgb(255,255,255);padding:0px 0px 0px 2px"><div style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:"Consolas";font-size:10pt;white-space:pre"><p style="margin:0px"> /**<br> * Setter for field:<br> * {@snippet lang=c :<br> * union (anonymous union at C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\winnt.h:16446:5) Flags<br> * }<br> */<br></p><p style="margin:0px"><br></p><p style="margin:0px">PROCESSOR_IDLESTATE_POLICY.java:222: error: illegal unicode escape<br> [javac] * union (anonymous union at C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\winnt.h:16446:5) Flags<br> [javac]</p><p style="margin:0px"><br></p></div></div></div><div>It's from jextract without symbol filters, but not on any definitions I use:</div><div> <br></div><div> #include <shlobj_core.h><br> #include <objbase.h></div><div><br></div><div>Kind regards</div><div><br></div><div>Duncan<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>