Erik de Castro Lopo
2011-Mar-23 20:44 UTC
[Flac-dev] Current release fails to build from source with g++ version 4.5.2
HI all, The current released version of flac (1.2.1) fails to build with g++ version 4.5.2 in Debian: if g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -DFLaC__INLINE=__inline__ -DNDEBUG -I../../../.. \ -I./ include -I../../../../include -g -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" \ -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; \ else rm -f ".deps/main.Tpo"; exit 1; \ fi main.cpp: In function 'int main(int, char**)': main.cpp:75:27: error: 'memcmp' was not declared in this scope All thats required to fix it is a "#include <string.h>". Any chance of a quick fox for this and a new release? Cheers, Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/