Bug 218107 - app-dicts/kasumi-2.3 fails to build using sys-devel/gcc-4.3.0
Bug#: 218107 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: cjk@gentoo.org Reported By: elprespufferfish@gmail.com
Component: GCC Porting
URL: 
Summary: app-dicts/kasumi-2.3 fails to build using sys-devel/gcc-4.3.0
Keywords:  
Status Whiteboard: 
Opened: 2008-04-17 13:23 0000
Description:   Opened: 2008-04-17 13:23 0000
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 From elprespufferfish@gmail.com 2008-04-17 13:24:29 0000 -------
Created an attachment (id=150049) [details]
emerge --info

------- Comment #2 From Dawid Węgliński 2008-04-21 06:37:37 0000 -------
*** Bug 218689 has been marked as a duplicate of this bug. ***

------- Comment #3 From MATSUU Takuto 2008-04-22 16:54:27 0000 -------
fixed in cvs.