scim-anthy fails to build with gcc-4.3. Reproducible: Always Steps to Reproduce: 1. Switch to gcc-4.3 2. emerge scim-anthy 3. fail Actual Results: config.status: executing depfiles commands scim_anthy_helper.cpp: In function 'void run(const scim::String&, const scim::ConfigPointer&)': scim_anthy_helper.cpp:237: warning: deprecated conversion from string constant to 'char*' scim_anthy_helper.cpp:238: warning: deprecated conversion from string constant to 'char*' scim_anthy_preedit.cpp: In member function 'bool scim_anthy::Preedit::is_comma_or_period(const scim::String&)': scim_anthy_preedit.cpp:534: error: 'strcmp' was not declared in this scope scim_anthy_preedit.cpp:541: error: 'strcmp' was not declared in this scope make[2]: *** [anthy_la-scim_anthy_preedit.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Expected Results: Compile Successfully
Created attachment 150052 [details] emerge --info
Created attachment 150058 [details] attempt at a patch A few files scim_anthy_kana.cpp scim_anthy_preedit.cpp scim_anthy_prefs.cpp scim_anthy_setup.cpp scim_anthy_utils.cpp seem to need an #include <cstring> to compile
scim-anthy-1.2.6 was fixed to build with gcc-4.3 by upstream. please test.
I can confirm 1.2.6 builds with GCC 4.3 :) Thanks!