Open eres-j opened 1 month ago
Thanks for letting me know about this!
On the warnings, the line numbers reported don't seem to match the code. I checked against both my repo and the SDL one. The first warning is easy enough without the exact line, but the other two aren't. For example, line 1351 of wvtag.c
is blank and line 3347 of wvunpack.c
has no call or pointers.
You're welcome :)
Both last 2 warning are for this same call: int act_chars = UTF8ToWideChar (string, temp);
in UTF8ToAnsi
function.
Hi,
I use WavPack via SDL_Mixer and I recently let my project build using VS2022 ClangCl and got the following error:
SDL_mixer\external\wavpack\src\read_words.c(136,30): error : call to undeclared library function '_BitScanForward' with type 'unsigned char (unsigned long *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Step to reproduce (in
SDL_mixer\external\wavpack
):Potential fix: I locally patched read_words.c by adding this at line 29
The compiler also give some warnings which could be nice to fix as well:
Let me know if you need more information :)