Fails with: [ 9%] Built target filelightpart_automoc [ 13%] Building CXX object src/app/CMakeFiles/filelight.dir/mainWindow.o Scanning dependencies of target radialmap [ 18%] Building CXX object src/part/radialMap/CMakeFiles/radialmap.dir/radialmap_automoc.o [ 22%] Building CXX object src/part/radialMap/CMakeFiles/radialmap.dir/widget.o /var/tmp/portage/kde-misc/filelight-1.9_rc3/work/filelight-1.9rc3/src/part/radialMap/widget.cpp: In member function ‘KUrl RadialMap::Widget::url(const File*) const’: /var/tmp/portage/kde-misc/filelight-1.9_rc3/work/filelight-1.9rc3/src/part/radialMap/widget.cpp:67:67: erreur: cannot call constructor ‘KUrl::KUrl’ directly /var/tmp/portage/kde-misc/filelight-1.9_rc3/work/filelight-1.9rc3/src/part/radialMap/widget.cpp:67:67: erreur: for a function-style cast, remove the redundant ‘::KUrl’ /var/tmp/portage/kde-misc/filelight-1.9_rc3/work/filelight-1.9rc3/src/app/mainWindow.cpp: In member function ‘bool Filelight::MainWindow::slotScanPath(const QString&)’: /var/tmp/portage/kde-misc/filelight-1.9_rc3/work/filelight-1.9rc3/src/app/mainWindow.cpp:225:39: erreur: cannot call constructor ‘KUrl::KUrl’ directly /var/tmp/portage/kde-misc/filelight-1.9_rc3/work/filelight-1.9rc3/src/app/mainWindow.cpp:225:39: erreur: for a function-style cast, remove the redundant ‘::KUrl’ Reproducible: Always Steps to Reproduce: 1. gcc-config x86_64-pc-linux-gnu-4.5.0 && env-update 2. emerge filelight 3. emerge fails with typical gcc-4.5 & C++ error Patch in next reply.
Created attachment 232779 [details, diff] patch to fix the issue
+ 05 Jun 2010; Samuli Suominen <ssuominen@gentoo.org> + filelight-1.9_rc3.ebuild, +files/filelight-1.9_rc3-gcc45.patch: + Fix building with GCC 4.5+ wrt #321357 by Gef Lebster. +
*** Bug 323067 has been marked as a duplicate of this bug. ***