Surely the UVuf is entirely supposed to give the right format to match the type of UV.
Sounds reasonable and I can't re-create the warnings in an Inline::C script - there might be more to this than I initially realized.
Here's a bit more detail regarding one of those warnings:
XS.xs: In function 'encode_sv':
XS.xs:2449:66: warning: format '%u' expects argument of type 'unsigned
+ int', but argument 4 has type 'long long unsigned int' [-Wformat=]
2449 | enc->cur += snprintf (enc->cur, IVUV_MAXCHAR
+S, "%" UVuf, UV_MAX);
|
+ ^~~
(It's getting late over here.)
Cheers, Rob |