Bug 125010 - app-misc/endeavour-2.4.6 fails (gcc4)
Bug#: 125010 Product:  Gentoo Linux Version: 2005.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: gcc-porting@gentoo.org Reported By: hetfield666@gmail.com
Component: GCC Porting
URL: 
Summary: app-misc/endeavour-2.4.6 fails (gcc4)
Keywords:  
Status Whiteboard: 
Opened: 2006-03-04 13:03 0000
Description:   Opened: 2006-03-04 13:03 0000
Compiling module tview.o
Compiling module tviewcb.o
Compiling module url.o
Compiling module disk.o
disk.cpp: In function ‘int ISPATHABSOLUTE(const char*)’:
disk.cpp:135: error: invalid cast from type ‘char’ to type
‘char’
disk.cpp:135: error: invalid cast from type ‘char’ to type
‘char’
make[1]: *** [disk.o] Error 1
Building library "libendeavour2.so"...
Compiling resources
Compiling module edvcontext.o
Compiling module edvdevices.o
Compiling module edvdevicesfio.o
Compiling module edvdevicesget.o
Compiling module edvget.o
Compiling module edvhelp.o
Compiling module edvhistory.o
Compiling module edvmessage.o
Compiling module edvmimetypes.o
Compiling module edvmimetypesfio.o
Compiling module edvmimetypesget.o
Compiling module edvmimetypesinstall.o
Compiling module edvmount.o
Compiling module edvnotify.o
Compiling module edvopen.o
Compiling module edvrecycle.o
Compiling module edvwindow.o
Compiling module ../string.o
../string.cpp: In function ‘void strtoupper(char*)’:
../string.cpp:484: warning: operation on ‘s’ may be undefined
../string.cpp: In function ‘void strtolower(char*)’:
../string.cpp:496: warning: operation on ‘s’ may be undefined
Compiling module ../strexp.o
Compiling module ../disk.o
../disk.cpp: In function ‘int ISPATHABSOLUTE(const char*)’:
../disk.cpp:135: error: invalid cast from type ‘char’ to type
‘char’
../disk.cpp:135: error: invalid cast from type ‘char’ to type
‘char’
../disk.cpp: In function ‘void StripParentPath(char*, const
char*)’:
../disk.cpp:986: warning: operation on ‘strptr’ may be undefined
make[1]: *** [../disk.o] Error 1
Building program "download.front"...
Compiling module downloadcfgio.o
Compiling module main.o
Compiling module ../disk.o
../disk.cpp: In function ‘int ISPATHABSOLUTE(const char*)’:
../disk.cpp:135: error: invalid cast from type ‘char’ to type
‘char’
../disk.cpp:135: error: invalid cast from type ‘char’ to type
‘char’
../disk.cpp: In function ‘void StripParentPath(char*, const
char*)’:
../disk.cpp:986: warning: operation on ‘strptr’ may be undefined
make[1]: *** [../disk.o] Error 1
Building program "format.front"...
Compiling module formatcb.o
Compiling module formatmanager.o
Compiling module main.o
Compiling module ../disk.o
../disk.cpp: In function ‘int ISPATHABSOLUTE(const char*)’:
../disk.cpp:135: error: invalid cast from type ‘char’ to type
‘char’
../disk.cpp:135: error: invalid cast from type ‘char’ to type
‘char’
../disk.cpp: In function ‘void StripParentPath(char*, const
char*)’:
../disk.cpp:986: warning: operation on ‘strptr’ may be undefined
make[1]: *** [../disk.o] Error 1
Building program "fsck.front"...
Compiling module fsckcb.o
Compiling module fsckmanager.o
Compiling module main.o
Compiling module ../disk.o
../disk.cpp: In function ‘int ISPATHABSOLUTE(const char*)’:
../disk.cpp:135: error: invalid cast from type ‘char’ to type
‘char’
../disk.cpp:135: error: invalid cast from type ‘char’ to type
‘char’
../disk.cpp: In function ‘void StripParentPath(char*, const
char*)’:
../disk.cpp:986: warning: operation on ‘strptr’ may be undefined
make[1]: *** [../disk.o] Error 1
Building program "hedit"...
Compiling module main.o
Compiling module ../disk.o
../disk.cpp: In function ‘int ISPATHABSOLUTE(const char*)’:
../disk.cpp:135: error: invalid cast from type ‘char’ to type
‘char’
../disk.cpp:135: error: invalid cast from type ‘char’ to type
‘char’
../disk.cpp: In function ‘void StripParentPath(char*, const
char*)’:
../disk.cpp:986: warning: operation on ‘strptr’ may be undefined
make[1]: *** [../disk.o] Error 1
Building program "sysinfo"...
Compiling module main.o
Compiling module sysinfowin.o
Compiling module ../disk.o
../disk.cpp: In function ‘int ISPATHABSOLUTE(const char*)’:
../disk.cpp:135: error: invalid cast from type ‘char’ to type
‘char’
../disk.cpp:135: error: invalid cast from type ‘char’ to type
‘char’
../disk.cpp: In function ‘void StripParentPath(char*, const
char*)’:
../disk.cpp:986: warning: operation on ‘strptr’ may be undefined
make[1]: *** [../disk.o] Error 1
Building program "ziptool.front"...
Compiling module main.o
Compiling module ziptool.o
Compiling module ziptoolcb.o
Compiling module ziptoolio.o
Compiling module ../disk.o
../disk.cpp: In function ‘int ISPATHABSOLUTE(const char*)’:
../disk.cpp:135: error: invalid cast from type ‘char’ to type
‘char’
../disk.cpp:135: error: invalid cast from type ‘char’ to type
‘char’
../disk.cpp: In function ‘void StripParentPath(char*, const
char*)’:
../disk.cpp:986: warning: operation on ‘strptr’ may be undefined
make[1]: *** [../disk.o] Error 1
Building utilities...
Compiling resources
Compiling confirmation_dialog
c++: ../string.o: No such file or directory
c++: ../fio.o: No such file or directory
make[1]: *** [confirmation_dialog] Error 1
make: *** [all] Error 2

!!! ERROR: app-misc/endeavour-2.4.6 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile

!!! Parallel make failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.

------- Comment #1 From Mark Loeser 2006-03-09 21:20:16 0000 -------
Fixed, thanks.

------- Comment #2 From Patrizio Bassi 2006-03-10 00:59:59 0000 -------
works ok with 4.1.0

thanks!