Compiling src/lib/libflac/libflac/stream_encoder_framing.c...
x86_64-pc-linux-gnu-g++ -DCRLF=2 -DINLINE="static inline" -DLSB_FIRST -DPTR64 -DNDEBUG -DFLAC__NO_DLL -DSDLMAME_SDL2=0 -DDISTRO=generic "-DSDLMAME_ARCH=" -DSYNC_IMPLEMENTATION=tc -DSDLMAME_UNIX -DNO_DEBUGGER -DUSE_OPENGL=0 -DSDLMAME_NO_X11 -DNATIVE_DRC=drcbe_x64 -DFLAC__NO_ASM -DHAVE_INTTYPES_H -DHAVE_ICONV -DHAVE_LANGINFO_CODESET -DHAVE_SOCKLEN_T -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DWORDS_BIGENDIAN=0
-std=gnu89 -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Isrc/lib/libflac/include -c src/lib/libflac/libflac/stream_encoder_framing.c -o obj/sdl64/lib/libflac/stream_encoder_framing.o
cc1plus: warning: command line option "-Wbad-function-cast" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-std=gnu89" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wbad-function-cast" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-std=gnu89" is valid for C/ObjC but not for C++
src/lib/libflac/libflac/stream_decoder.c: In function 'FLAC__StreamDecoderInitStatus init_FILE_internal_(FLAC__StreamDecoder*, FILE*, FLAC__StreamDecoderWriteStatus
(*)(const FLAC__StreamDecoder*, const FLAC__Frame*, const FLAC__int32* const*, void*), void (*)(const FLAC__StreamDecoder*, const FLAC__StreamMetadata*, void*), void (*)(const FLAC__StreamDecoder*, FLAC__StreamDecoderErrorStatus, void*), void*, FLAC__bool)':
src/lib/libflac/libflac/stream_decoder.c:544:39: error: cannot convert 'FLAC__StreamDecoderInitStatus' to 'FLAC__StreamDecoderState' in assignment
src/lib/libflac/libflac/stream_decoder.c:547:39: error: cannot convert 'FLAC__StreamDecoderInitStatus' to 'FLAC__StreamDecoderState' in assignment
src/lib/libflac/libflac/stream_decoder.c: In function 'FLAC__StreamDecoderInitStatus init_file_internal_(FLAC__StreamDecoder*, const char*, FLAC__StreamDecoderWriteStatus (*)(const FLAC__StreamDecoder*, const FLAC__Frame*, const FLAC__int32* const*, void*), void (*)(const FLAC__StreamDecoder*, const FLAC__StreamMetadata*, void*), void (*)(const FLAC__StreamDecoder*, FLAC__StreamDecoderErrorStatus, void*), void*, FLAC__bool)':
src/lib/libflac/libflac/stream_decoder.c:618:39: error: cannot convert 'FLAC__StreamDecoderInitStatus' to 'FLAC__StreamDecoderState' in assignment
src/lib/libflac/libflac/stream_decoder.c:621:39: error: cannot convert 'FLAC__StreamDecoderInitStatus' to 'FLAC__StreamDecoderState' in assignment
src/lib/libflac/libflac/stream_decoder.c: In function 'FLAC__bool read_metadata_picture_(FLAC__StreamDecoder*, FLAC__StreamMetadata_Picture*)':
src/lib/libflac/libflac/stream_decoder.c:1852:14: error: invalid conversion from 'FLAC__uint32' to 'FLAC__StreamMetadata_Picture_Type'
distcc[26337] ERROR: compile src/lib/libflac/libflac/stream_decoder.c on localhost failed
make: *** [obj/sdl64/lib/libflac/stream_decoder.o] Error 1
make: *** Waiting for unfinished jobs....
src/lib/libflac/libflac/stream_encoder.c: In function 'FLAC__StreamEncoderWriteStatus write_frame_(FLAC__StreamEncoder*, const FLAC__byte*, size_t, unsigned int, FLAC__bool)':
src/lib/libflac/libflac/stream_encoder.c:2442:46: error: invalid conversion from 'int' to 'FLAC__MetadataType'
distcc[26343] ERROR: compile src/lib/libflac/libflac/stream_encoder.c on localhost failed
make: *** [obj/sdl64/lib/libflac/stream_encoder.o] Error 1