No probs to emerge media-libs/libflash-0.4.10-r1 with gcc-4.1.1 on x86 and amd64, but after upgrading to gcc-4.1.2 conflicts regarding with declarations of C and C++ linkage let the compile fail. I saw a (quite old) bug report with the same results using alpha versions of gcc-4.2 on debian, here's the link http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=377177 This bug report has a further link to the gcc bugzilla http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27227 Reproducible: Always Actual Results: /bin/sh ../libtool --mode=compile c++ -DPACKAGE=\"libflash\" -DVERSION=\"0.4.10\" -I. -I. -I../lib -O3 -Wall -fno-rtti -fno-exceptions -g3 -c flash.cc c++ -DPACKAGE=\"libflash\" -DVERSION=\"0.4.10\" -I. -I. -I../lib -O3 -Wall -fno-rtti -fno-exceptions -g3 -c flash.cc -fPIC -DPIC -o flash.lo /bin/sh ../libtool --mode=compile c++ -DPACKAGE=\"libflash\" -DVERSION=\"0.4.10\" -I. -I. -I../lib -O3 -Wall -fno-rtti -fno-exceptions -g3 -c font.cc swf.h:199: error: previous declaration of 'int shape_size' with 'C++' linkage flash.cc:266: error: conflicts with new declaration with 'C' linkage swf.h:199: error: previous declaration of 'int shape_nb' with 'C++' linkage flash.cc:266: error: conflicts with new declaration with 'C' linkage swf.h:199: error: previous declaration of 'int shaperecord_size' with 'C++' linkage flash.cc:266: error: conflicts with new declaration with 'C' linkage swf.h:199: error: previous declaration of 'int shaperecord_nb' with 'C++' linkage flash.cc:266: error: conflicts with new declaration with 'C' linkage swf.h:199: error: previous declaration of 'int style_size' with 'C++' linkage flash.cc:266: error: conflicts with new declaration with 'C' linkage swf.h:199: error: previous declaration of 'int style_nb' with 'C++' linkage flash.cc:266: error: conflicts with new declaration with 'C' linkage make[1]: *** [flash.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... c++ -DPACKAGE=\"libflash\" -DVERSION=\"0.4.10\" -I. -I. -I../lib -O3 -Wall -fno-rtti -fno-exceptions -g3 -c font.cc -fPIC -DPIC -o font.lo make[1]: Leaving directory `/var/tmp/portage/media-libs/libflash-0.4.10-r1/work/libflash-0.4.10/lib' make: *** [all-recursive] Error 1
I've updated the gcc41 patch to fix this. Thanks for the report. :)