Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218109 - app-i18n/scim-anthy-1.2.4 fails to build with sys-devel/gcc-4.3.0
Summary: app-i18n/scim-anthy-1.2.4 fails to build with sys-devel/gcc-4.3.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-04-17 13:29 UTC by elprespufferfish
Modified: 2008-04-27 13:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (info,3.61 KB, text/plain)
2008-04-17 13:29 UTC, elprespufferfish
Details
attempt at a patch (gcc43.patch,1.59 KB, text/plain)
2008-04-17 13:44 UTC, elprespufferfish
Details

Note You need to log in before you can comment on or make changes to this bug.
Description elprespufferfish 2008-04-17 13:29:44 UTC
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
Comment 1 elprespufferfish 2008-04-17 13:29:58 UTC
Created attachment 150052 [details]
emerge --info
Comment 2 elprespufferfish 2008-04-17 13:44:48 UTC
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
Comment 3 MATSUU Takuto (RETIRED) gentoo-dev 2008-04-21 16:39:48 UTC
scim-anthy-1.2.6 was fixed to build with gcc-4.3 by upstream.
please test.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-04-27 13:13:46 UTC
I can confirm 1.2.6 builds with GCC 4.3 :) Thanks!