[Pkg-kde-bugs-fwd] [Bug 101556] New: kdesdk compile errors on amd64/gcc4
Debian KDE Maintainers
101556@bugs.kde.org
15 Mar 2005 15:20:43 -0000
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
http://bugs.kde.org/show_bug.cgi?id=101556
Summary: kdesdk compile errors on amd64/gcc4
Product: kcachegrind
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: josef.weidendorfer gmx de
ReportedBy: pkg-kde-bugs-fwd lists alioth debian org
Version: (using KDE Devel)
Installed from: Compiled sources
Compiler: gcc 4.0 prerelease
OS: Linux
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=287032 informs us that kdesdk doesn't build on amd64 using the upcoming gcc4:
../../../kcachegrind/kcachegrind/callgraphview.cpp: In member function 'void GraphExporter::writeDot()':
../../../kcachegrind/kcachegrind/callgraphview.cpp:579: error: cast from 'TraceFunction*' to 'int' loses precision
../../../kcachegrind/kcachegrind/callgraphview.cpp:594: error: cast from 'TraceFunction*' to 'int' loses precision
../../../kcachegrind/kcachegrind/callgraphview.cpp:633: error: cast from 'TraceFunction*' to 'int' loses precision
../../../kcachegrind/kcachegrind/callgraphview.cpp:634: error: cast from 'TraceFunction*' to 'int' loses precision
../../../kcachegrind/kcachegrind/callgraphview.cpp:672: error: cast from 'TraceFunction*' to 'int' loses precision
../../../kcachegrind/kcachegrind/callgraphview.cpp:674: error: cast from 'TraceFunction*' to 'int' loses precision
../../../kcachegrind/kcachegrind/callgraphview.cpp:675: error: cast from 'TraceFunction*' to 'int' loses precision
../../../kcachegrind/kcachegrind/callgraphview.cpp:695: error: cast from 'TraceFunction*' to 'int' loses precision
../../../kcachegrind/kcachegrind/callgraphview.cpp:697: error: cast from 'TraceFunction*' to 'int' loses precision
../../../kcachegrind/kcachegrind/callgraphview.cpp:698: error: cast from 'TraceFunction*' to 'int' loses precision
make[4]: *** [callgraphview.o] Error 1
I've attached the patch that was provided to us, adapted to apply to the latest code. If you do apply it, please backport to 3_4_BRANCH as well.
Thanks!