[Pkg-kde-bugs-fwd] [Bug 101554] New: amd64/gcc4 compile errors and patch
Debian KDE Maintainers
101554@bugs.kde.org
15 Mar 2005 15:10:24 -0000
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
http://bugs.kde.org/show_bug.cgi?id=101554
Summary: amd64/gcc4 compile errors and patch
Product: koffice
Version: 1.3.5
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: filters
AssignedTo: ariya kde org
ReportedBy: pkg-kde-bugs-fwd lists alioth debian org
Version: 1.3.5 (using KDE Devel)
Installed from: Compiled sources
Compiler: gcc4 prerelease
OS: Linux
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=287164 informs us that koffice doesn't build on amd64 with gcc 4.0:
../../../../filters/kword/mswrite/structures_generated.cpp: In member function 'virtual bool MSWrite::HeaderGenerated::verifyVariables()':
../../../../filters/kword/mswrite/structures_generated.cpp:96: error: cast from 'MSWrite::Word*' to 'MSWrite::DWord' loses precision
../../../../filters/kword/mswrite/structures_generated.cpp:107: error: cast from 'MSWrite::Word*' to 'MSWrite::DWord' loses precision
../../../../filters/kword/mswrite/structures_generated.cpp: In member function 'virtual bool MSWrite::FormatParaPropertyGenerated::verifyVariables()':
../../../../filters/kword/mswrite/structures_generated.cpp:1246: error: cast from 'MSWrite::Word*' to 'MSWrite::DWord' loses precision
../../../../filters/kword/mswrite/structures_generated.cpp:1255: error: cast from 'MSWrite::Byte*' to 'MSWrite::DWord' loses precision
../../../../filters/kword/mswrite/structures_generated.cpp: In member function 'virtual bool MSWrite::BMP_BitmapFileHeaderGenerated::verifyVariables()':
../../../../filters/kword/mswrite/structures_generated.cpp:1496: error: cast from 'MSWrite::Word*' to 'MSWrite::DWord' loses precision
make[5]: *** [structures_generated.lo] Error 1
make[5]: Leaving directory `/koffice-1.3.4/obj-x86_64-linux/filters/kword/mswrite'
I'll attach the patch that was provided to us to fix the problem, modified to apply to the current code.
Thanks!