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

Bug 135633

Summary: x11-misc/xdiskusage does not compile on gcc-4.1.1
Product: Gentoo Linux Reporter: Thomas Witt <bugs>
Component: [OLD] GCC PortingAssignee: Desktop Misc. Team <desktop-misc>
Status: RESOLVED FIXED    
Severity: normal CC: ben_evilben, esigra, sagar.mittal
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 117482    

Description Thomas Witt 2006-06-05 07:39:30 UTC
c++ -march=k8 -O3 -pipe -I/usr/include/fltk-1.1 -I/usr/include/freetype2 -march=k8 -O3 -pipe -c panels.C
c++ -march=k8 -O3 -pipe -I/usr/include/fltk-1.1 -I/usr/include/freetype2 -march=k8 -O3 -pipe -c xdiskusage.C
xdiskusage.C: In static member function 'static void OutputWindow::sort_cb(Fl_Widget*, void*)':
xdiskusage.C:991: error: cast from 'void*' to 'int' loses precision
xdiskusage.C: In static member function 'static void OutputWindow::columns_cb(Fl_Widget*, void*)':
xdiskusage.C:1004: error: cast from 'void*' to 'int' loses precision
make: *** [xdiskusage.o] Error 1

!!! ERROR: x11-misc/xdiskusage-1.48 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  xdiskusage-1.48.ebuild, line 23:   Called die
Comment 1 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-09-21 05:15:09 UTC
Fixed, thanks.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-09-23 11:51:34 UTC
*** Bug 148820 has been marked as a duplicate of this bug. ***