Issue 23502 - MSVC 6 build breaks in extensions/source/propctrlr
Summary: MSVC 6 build breaks in extensions/source/propctrlr
Status: CLOSED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: code (show other issues)
Version: OOo 1.1
Hardware: PC Windows 2000
: P1 (highest) Trivial (vote)
Target Milestone: OOo 1.1.1
Assignee: Frank Schönheit
QA Contact: Unknown
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-12 13:26 UTC by quetschke
Modified: 2004-10-15 15:17 UTC (History)
2 users (show)

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


Attachments
Patch for extensions/ (1.02 KB, patch)
2003-12-13 16:01 UTC, quetschke
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description quetschke 2003-12-12 13:26:37 UTC
The build of cws_srx645_ooo111fix1 stops in extensions/source/propctrlr with
the following errorlog.

cc'in hr as he's doing the fix1 merge.

------------------------------
Making:..\..\wntmsci9.pro\slo\cellbindinghelper.obj
c:\PROGRA~1\MSVS6\VC98\bin\cl.exe -Zm200 -c -nologo -Gs -Gy  -I. 
-I..\..\wntmsci9.pro\inc\pcr -I..\inc -I..\..\inc -I..\..\WIN\inc
-I..\..\wntmsci9.pro\inc -I.
-Ie:\w1\cws_srx645_ooo111fix1\solver\645\wntmsci9.pro\inc\stl
-Ie:\w1\cws_srx645_ooo111fix1\solver\645\wntmsci9.pro\inc\external
-Ie:\w1\cws_srx645_ooo111fix1\solver\645\wntmsci9.pro\inc
-Ie:\w1\cws_srx645_ooo111fix1\solenv\wntmsci9\inc
-Ie:\w1\cws_srx645_ooo111fix1\solenv\inc -Ie:\w1\cws_srx645_ooo111fix1\res
-Ie:\w1\cws_srx645_ooo111fix1\solver\645\wntmsci9.pro\inc\stl
-Ic:\j2sdk1.4.2\include\win32 -Ic:\j2sdk1.4.2\include -Ic:\psdk02_2003\include
-Ic:\progra~1\msvs6\vc98\include     -I. -I..\..\res -I. -Ob1 -Zi
-Fd..\..\wntmsci9.pro\misc\_ooo_st_pcr.PDB -Ox -Oy- -Gd  -GX   -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=8718 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0
-DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DFIX645  -DCOMPMOD_NAMESPACE=pcr
-DCOMPMOD_RESPREFIX=pcr -DSHAREDLIB -D_DLL_ -DWIN32 -D_MT -D_DLL -DWIN32 -D_MT
-D_DLL -DMULTITHREAD  -W3 -Fo..\..\wntmsci9.pro\slo\cellbindinghelper.obj
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx 

c:\PROGRA~1\MSVS6\VC98\bin\cl.exe @d:\temp\mk20
cellbindinghelper.cxx
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(146)
: error C2065: 'Reference' : undeclared identifier
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(162)
: see reference to function template instantiation 'class
com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being
compiled
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(146)
: error C2275: 'TYPE' : illegal use of this type as an expression
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(162)
: see declaration of 'TYPE'
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(162)
: see reference to function template instantiation 'class
com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being
compiled
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(146)
: error C2065: 'xTypedNode' : undeclared identifier
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(162)
: see reference to function template instantiation 'class
com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being
compiled
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(146)
: error C2065: 'UNO_QUERY' : undeclared identifier
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(162)
: see reference to function template instantiation 'class
com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being
compiled
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(147)
: error C2228: left of '.is' must have class/struct/union type
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(162)
: see reference to function template instantiation 'class
com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being
compiled
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(151)
: error C2065: 'XChild' : undeclared identifier
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(162)
: see reference to function template instantiation 'class
com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being
compiled
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(151)
: error C2065: 'xChild' : undeclared identifier
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(162)
: see reference to function template instantiation 'class
com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being
compiled
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(151)
: warning C4804: '>' : unsafe use of type 'bool' in operation
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(162)
: see reference to function template instantiation 'class
com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being
compiled
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(151)
: warning C4552: '>' : operator has no effect; expected operator with side-effect
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(162)
: see reference to function template instantiation 'class
com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being
compiled
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(152)
: error C2228: left of '.is' must have class/struct/union type
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(162)
: see reference to function template instantiation 'class
com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being
compiled
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(153)
: error C2227: left of '->getParent' must point to class/struct/union
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(162)
: see reference to function template instantiation 'class
com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being
compiled
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(144)
: error C2893: Failed to specialize function template 'class
com::sun::star::uno::Reference<TYPE> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)'
        With the following template arguments:
        'class com::sun::star::frame::XModel'
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(162)
: see reference to function template instantiation 'class
com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being
compiled
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(144)
: error C2143: syntax error : missing ')' before 'const'
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(162)
: see reference to function template instantiation 'class
com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being
compiled
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(144)
: error C2780: 'class com::sun::star::uno::Reference<TYPE> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' :
expects 1 arguments - 0 provided
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(144)
: see declaration of 'getTypedModelNode'
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(162)
: see reference to function template instantiation 'class
com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being
compiled
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(144)
: error C2059: syntax error : ')'
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(162)
: see reference to function template instantiation 'class
com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being
compiled
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(146)
: error C2275: 'TYPE' : illegal use of this type as an expression
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(168)
: see declaration of 'TYPE'
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(168)
: see reference to function template instantiation 'class
com::sun::star::uno::Reference<class com::sun::star::drawing::XDrawPage> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being
compiled
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(147)
: error C2228: left of '.is' must have class/struct/union type
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(168)
: see reference to function template instantiation 'class
com::sun::star::uno::Reference<class com::sun::star::drawing::XDrawPage> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being
compiled
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(151)
: warning C4804: '>' : unsafe use of type 'bool' in operation
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(168)
: see reference to function template instantiation 'class
com::sun::star::uno::Reference<class com::sun::star::drawing::XDrawPage> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being
compiled
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(151)
: warning C4552: '>' : operator has no effect; expected operator with side-effect
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(168)
: see reference to function template instantiation 'class
com::sun::star::uno::Reference<class com::sun::star::drawing::XDrawPage> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being
compiled
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(152)
: error C2228: left of '.is' must have class/struct/union type
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(168)
: see reference to function template instantiation 'class
com::sun::star::uno::Reference<class com::sun::star::drawing::XDrawPage> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being
compiled
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(153)
: error C2227: left of '->getParent' must point to class/struct/union
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(168)
: see reference to function template instantiation 'class
com::sun::star::uno::Reference<class com::sun::star::drawing::XDrawPage> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being
compiled
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(144)
: error C2893: Failed to specialize function template 'class
com::sun::star::uno::Reference<TYPE> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)'
        With the following template arguments:
        'class com::sun::star::drawing::XDrawPage'
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(168)
: see reference to function template instantiation 'class
com::sun::star::uno::Reference<class com::sun::star::drawing::XDrawPage> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being
compiled
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(144)
: error C2143: syntax error : missing ')' before 'const'
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(168)
: see reference to function template instantiation 'class
com::sun::star::uno::Reference<class com::sun::star::drawing::XDrawPage> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being
compiled
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(144)
: error C2780: 'class com::sun::star::uno::Reference<TYPE> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' :
expects 1 arguments - 0 provided
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(144)
: see declaration of 'getTypedModelNode'
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(168)
: see reference to function template instantiation 'class
com::sun::star::uno::Reference<class com::sun::star::drawing::XDrawPage> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being
compiled
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(144)
: error C2059: syntax error : ')'
       
e:\w1\cws_srx645_ooo111fix1\extensions\source\propctrlr\cellbindinghelper.cxx(168)
: see reference to function template instantiation 'class
com::sun::star::uno::Reference<class com::sun::star::drawing::XDrawPage> __cdecl
pcr::`anonymous-namespace'::getTypedModelNode(const class
com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being
compiled
---*TG_SLO.MK*---
dmake.exe:  Error code 130, while making
'..\..\wntmsci9.pro\slo\cellbindinghelper.obj'
Comment 1 quetschke 2003-12-12 13:27:31 UTC
Set target to 1.1.1
Comment 2 jens-heiner.rechtien 2003-12-12 16:03:23 UTC
This one won't make it into ooo111fix1 anymore. The CWS is currently integrated.
Will be fixed on another FIX645 CWS.
Comment 3 hennes.rohling 2003-12-12 17:10:25 UTC
hro@fs: Your code. I doubt this is broken in ooo111fix1. We had problems with
the VC6 and namespaces in templates before. (Sorry I don't remember the file).
Try to use 'com::sun::star' instead of '::com::sun::star'. Be aware that a
working version might be exclusive to only one compiler, so you have to work
with #ifdef MSC_VER <=
Comment 4 Frank Schönheit 2003-12-12 23:08:33 UTC
I suspect it's the anonymous namespace which causes the trouble here. We should
try using some "using" declaratives *inside* this namespace - this is what
already helped in analogous code in xmloff/source/forms.
I cannot test this here at the moment, and also do not have checkin access
(@home), but will try this on monday. Volker, in case you want to try it before:
Insert the following at the top of the anonymous namespace (which starts a few
lines before the first error):

using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::XInterface;
using ::com::sun::star::uno::UNO_QUERY;
using ::com::sun::star::frame::XModel;
using ::com::sun::star::drawing::XDrawPage;
Comment 5 quetschke 2003-12-13 16:01:53 UTC
Created attachment 11927 [details]
Patch for extensions/
Comment 6 quetschke 2003-12-13 16:04:25 UTC
Hi Frank, XChild was missing ;-)

The previous patch fixed it for MSVC6. As ...fix1 is closed we have to wait for
...fix2.
Comment 7 Frank Schönheit 2003-12-17 10:48:12 UTC
fix checked in on the ooo111fix3 branch. Thanks Volker.
Comment 8 Martin Hollmichel 2004-10-15 15:17:18 UTC
close issue.