[flac-dev] Problems building on MinGW
Martijn van Beurden
mvanb1 at gmail.com
Mon Feb 1 12:14:39 PST 2016
Hi all,
I tried building the latest flac.git on Windows with MinGW just
today, and got the following build error: (I had to copy-paste
this 'by hand', so there might be a few small mistakes)
> CCLD utf8/libutf8.la
> CC win_utf8_io/win_utf8_io.lo
> win_utf8__io/win_utf8_io.c:266:13: error: static declaration
> of 'set_filename_utf8' follows non-static declaration
> static void set_filename_utf8(int b)
> ^
> win_utf8__io/win_utf8_io.c:106:6: note: previous declaration
> of 'set_filename_utf8' was here
> void set_filename_utf8(int b);
> ^
>
> win_utf8__io/win_utf8_io.c:266:13: warning:
> 'set_filename_utf8' defined but not used [-Wunused-function]
> static void set_filename_utf8(int b)
> ^
>
> make[3]: *** [win_utf8_io/win_utf8_io.lo] Error 1
This probably has something to do with the recently merged utf8
patches? FLAC 1.3.1 didn't have this problem.
More information about the flac-dev
mailing list