Apache OpenOffice (AOO) Bugzilla – Issue 16122
W32-tcsh fails in sd
Last modified: 2003-09-08 16:52:24 UTC
The cws_srx645_ooo11rc build with MSVC 6 SP5 fails with: ------------------------------ Making: ../../../wntmsci9.pro/slo/WindowUpdater.obj guw.pl /cygdrive/c/PROGRA~1/MSVS6/VC98/bin/cl.exe -Zm200 -c -nologo -Gs -Gy -I. -I/w1/cws_srx645_ooo11rccyg/solver/645/wntmsci9.pro/inc/offuh -I../inc -I../../../inc -I../../../WIN/inc -I../../../wntmsci9.pro/inc -I. -I/w1/cws_srx645_ooo11rccyg/solver/645/wntmsci9.pro/inc/stl -I/w1/cws_srx645_ooo11rccyg/solver/645/wntmsci9.pro/inc/external -I/w1/cws_srx645_ooo11rccyg/solver/645/wntmsci9.pro/inc -I/w1/cws_srx645_ooo11rccyg/solenv/wntmsci9/inc -I/w1/cws_srx645_ooo11rccyg/solenv/inc -I/w1/cws_srx645_ooo11rccyg/res -I/w1/cws_srx645_ooo11rccyg/solver/645/wntmsci9.pro/inc/stl -I/cygdrive/c/jdk1.3.1_02/include/win32 -I/cygdrive/c/jdk1.3.1_02/include -I'/cygdrive/c/psdk02_2003/include' -I/cygdrive/c/PROGRA~1/MSVS6/VC98/include -I. -I../../../res -I. -Ob1 -Ox -Oy- -Gd -DWNT -DWNT -DNT351 -DMSC -DMI200 -DINTEL -D_USE_NAMESPACE -D_X86_=1 -DFULL_DESK -DSTLPORT_VERSION=400 -DWINVER=0x400 -D_WIN32_IE=0x400 -D_MT -DCPPU_ENV=msci -DSUPD=645 -DBUILD=8639 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_OFF -DCUI -DSOLAR_JAVA -DSRX645 -DSHAREDLIB -D_DLL_ -DWIN32 -D_MT -D_DLL -DWIN32 -D_MT -D_DLL -DMULTITHREAD -W3 -Fo../../../wntmsci9.pro/slo/WindowUpdater.obj /w1/cws_srx645_ooo11rccyg/sd/source/ui/view/WindowUpdater.cxx guw.pl /cygdrive/c/PROGRA~1/MSVS6/VC98/bin/cl.exe @/tmp/mk610cb7f4.7 Command: /cygdrive/c/PROGRA~1/MSVS6/VC98/bin/cl.exe WindowUpdater.cxx e:\w1\cws_srx645_ooo11rccyg\sd\source\ui\view\WindowUpdater.cxx(246) : error C2059: syntax error : 'static_cast' e:\w1\cws_srx645_ooo11rccyg\sd\source\ui\view\WindowUpdater.cxx(247) : error C2228: left of '.GetId' must have class/struct/union type dmake: Error code 2, while making '../../../wntmsci9.pro/slo/WindowUpdater.obj' echo: No match. ERROR: Error 65280 occurred while making /w1/cws_srx645_ooo11rccyg/sd/source/ui/view dmake: Error code 1, while making 'build_all' echo: No match. --------------------------------------------------
Set target.
Reassigned to Martin.
reassigned.
Sander gave me following patch to build sd on IRC: +++ sd/source/ui/view/WindowUpdater.cxx 26 Jun 2003 17:35:10 -0000 @@ -243,7 +243,7 @@ void WindowUpdater::Notify (SfxBroadcaster& rBC, const SfxHint& rHint) { - const SfxSimpleHint& rSimpleHint (static_cast<const SfxSimpleHint&>(rHint)); + const SfxSimpleHint& rSimpleHint = (static_cast<const SfxSimpleHint&>(rHint)); if (rSimpleHint.GetId() == SFX_HINT_CTL_SETTINGS_CHANGED) { // Clear the master page cache so that master pages will be redrawn.
Fixed the bug by using Volker's solution.
verified.
Closed.