Issue 16122 - W32-tcsh fails in sd
Summary: W32-tcsh fails in sd
Status: CLOSED FIXED
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 RC
Hardware: PC Windows 2000
: P1 (highest) Trivial (vote)
Target Milestone: OOo 1.1 RC
Assignee: groucho266
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-26 18:15 UTC by quetschke
Modified: 2003-09-08 16:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description quetschke 2003-06-26 18:15:16 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.

--------------------------------------------------
Comment 1 quetschke 2003-06-26 18:19:24 UTC
Set target.
Comment 2 wolframgarten 2003-06-27 07:35:28 UTC
Reassigned to Martin.
Comment 3 Martin Hollmichel 2003-06-27 09:13:11 UTC
reassigned.
Comment 4 quetschke 2003-06-29 11:27:19 UTC
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.
Comment 5 groucho266 2003-06-30 12:01:01 UTC
Fixed the bug by using Volker's solution.
Comment 6 Martin Hollmichel 2003-07-01 10:53:51 UTC
verified.
Comment 7 groucho266 2003-07-29 17:13:55 UTC
Closed.