Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
View Bug Activity | Format For Printing | XML | Clone This Bug
GCC 4.3 cleans up the include dependencies of the C++ stdlib headers. The result is some packages have missing includes. This patch fixes one such error in flac-1.2.1-r1. make[5]: Entering directory `/var/tmp/portage/media-libs/flac-1.2.1-r1/work/flac-1.2.1/examples/cpp/encode/file' x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../../.. -DFLaC__INLINE=__inline__ -DNDEBUG -I../../../.. -I./include -I../../../../include -O2 -g -march=native -fomit-frame-pointer -pipe -c -o main.o main.cpp main.cpp: In function 'int main(int, char**)': main.cpp:75: error: 'memcmp' was not declared in this scope make[5]: *** [main.o] Error 1
Created an attachment (id=136308) [edit] flac-1.2.1-gcc-4.3-includes.patch
http://sourceforge.net/tracker/index.php?func=detail&aid=1834168&group_id=13478&atid=313478
applid for 1.2.1-r2, thanks it's currently masked but only for the time I add the checks for flac++