Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 218107

Summary: app-dicts/kasumi-2.3 fails to build using sys-devel/gcc-4.3.0
Product: Gentoo Linux Reporter: elprespufferfish
Component: [OLD] GCC PortingAssignee: CJK Team <cjk>
Status: RESOLVED FIXED    
Severity: normal CC: esigra, loki_val
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: emerge --info

Description elprespufferfish 2008-04-17 13:23:54 UTC
Kasumi fails to build with gcc-4.3.  It seems to be missing some header includes.

Reproducible: Always

Steps to Reproduce:
1.  Switch to gcc-4.3
2.  emerge kasumi
3.  fail
Actual Results:  
config.status: creating po/Makefile
KasumiWord.cxx: In static member function ‘static std::string KasumiWord::convertUTF8ToEUCJP(const std::string&)’:
KasumiWord.cxx:50: error: ‘strlen’ was not declared in this scope
KasumiWord.cxx:51: error: ‘strcpy’ was not declared in this scope
KasumiWord.cxx: In static member function ‘static std::string KasumiWord::convertEUCJPToUTF8(const std::string&)’:
KasumiWord.cxx:62: error: ‘strlen’ was not declared in this scope
KasumiWord.cxx:63: error: ‘strcpy’ was not declared in this scope
make[2]: *** [KasumiWord.o] Error 1
make[2]: *** Waiting for unfinished jobs....
main.cxx:85: warning: deprecated conversion from string constant to ‘gchar*’
main.cxx: In function ‘void cb_selection_get(GtkWidget*, GtkSelectionData*, guint, guint, GtkWidget*)’:
main.cxx:101: warning: deprecated conversion from string constant to ‘gchar*’
main.cxx:102: error: ‘strlen’ was not declared in this scope
main.cxx:109: error: ‘strlen’ was not declared in this scope
main.cxx: In function ‘GtkWidget* check_duplicated_process(int, char**)’:
main.cxx:152: error: ‘strlen’ was not declared in this scope
main.cxx:155: error: ‘memmove’ was not declared in this scope
make[2]: *** [main.o] Error 1
KasumiAddWindow.cxx: In constructor ‘KasumiAddWindow::KasumiAddWindow(KasumiDic*, KasumiConfiguration*)’:
KasumiAddWindow.cxx:122: error: no matching function for call to ‘find(std::_List_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_List_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::string&)’
make[2]: *** [KasumiAddWindow.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Expected Results:  
Compile successfully
Comment 1 elprespufferfish 2008-04-17 13:24:29 UTC
Created attachment 150049 [details]
emerge --info
Comment 2 Dawid Węgliński (RETIRED) gentoo-dev 2008-04-21 06:37:37 UTC
*** Bug 218689 has been marked as a duplicate of this bug. ***
Comment 3 MATSUU Takuto (RETIRED) gentoo-dev 2008-04-22 16:54:27 UTC
fixed in cvs.