Abiword fails to build with following output: In file included from ut_PerlBindings.h:6, from ut_PerlBindings.cpp:7: ut_Script.h:119: warning: `class UT_ScriptLibrary' only defines private constructors and has no friends ut_PerlBindings.cpp: In function `void xs_init()': ut_PerlBindings.cpp:74: passing `void (*)(PerlInterpreter *, CV *)' as argument 2 of `Perl_newXS(char *, void (*)(CV *), char *)' ut_PerlBindings.cpp: In method `bool UT_PerlBindings::evalFile(const UT_String &)': ut_PerlBindings.cpp:237: warning: ANSI C++ forbids braced-groups within expressions ut_PerlBindings.cpp:253: warning: ANSI C++ forbids braced-groups within expressions ut_PerlBindings.cpp: In method `bool UT_PerlBindings::runCallback(const char *)': ut_PerlBindings.cpp:293: warning: ANSI C++ forbids braced-groups within expressions make[4]: *** [ut_PerlBindings.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/abiword-1.0.3/work/abiword-1.0.3/abi/src/af/util/xp' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/abiword-1.0.3/work/abiword-1.0.3/abi/src/af/util' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/abiword-1.0.3/work/abiword-1.0.3/abi/src/af' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/abiword-1.0.3/work/abiword-1.0.3/abi/src' make: *** [all-recursive] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -66, Exitcode 2 !!! (no error message) Currently I'm using gcc 2.95.3. Good luck!
*** This bug has been marked as a duplicate of 6937 ***