scim-anthy fails to build with gcc-4.3.
Steps to Reproduce:
1. Switch to gcc-4.3
2. emerge scim-anthy
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: *** [anthy_la-scim_anthy_preedit.lo] Error 1
make: *** Waiting for unfinished jobs....
make: *** [all-recursive] Error 1
make: *** [all] Error 2
Created attachment 150052 [details]
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
scim-anthy-1.2.6 was fixed to build with gcc-4.3 by upstream.
I can confirm 1.2.6 builds with GCC 4.3 :) Thanks!