Apache OpenOffice (AOO) Bugzilla – Issue 23408
W32-MSVC6 build breaks in xmloff/source/forms
Last modified: 2004-03-05 22:41:28 UTC
For cws_srx645_ooo111fix1 The build with MS VC6 breaks in xmloff/source/forms with: ------------------------------ Making:..\..\wntmsci9.pro\slo\formcellbinding.obj c:\PROGRA~1\MSVS6\VC98\bin\cl.exe -Zm200 -c -nologo -Gs -Gy -I. -I..\..\wntmsci9.pro\inc -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_forms.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 -DSHAREDLIB -D_DLL_ -DWIN32 -D_MT -D_DLL -DWIN32 -D_MT -D_DLL -DMULTITHREAD -W3 -Fo..\..\wntmsci9.pro\slo\formcellbinding.obj e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx c:\PROGRA~1\MSVS6\VC98\bin\cl.exe @d:\temp\mk29 formcellbinding.cxx e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(138) : error C2065: 'Reference' : undeclared identifier e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(154) : see reference to function template instantiation 'class com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl xmloff::`anonymous-namespace'::getTypedModelNode(const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being compiled e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(138) : error C2275: 'TYPE' : illegal use of this type as an expression e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(154) : see declaration of 'TYPE' e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(154) : see reference to function template instantiation 'class com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl xmloff::`anonymous-namespace'::getTypedModelNode(const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being compiled e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(138) : error C2065: 'xTypedNode' : undeclared identifier e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(154) : see reference to function template instantiation 'class com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl xmloff::`anonymous-namespace'::getTypedModelNode(const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being compiled e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(138) : error C2065: 'UNO_QUERY' : undeclared identifier e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(154) : see reference to function template instantiation 'class com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl xmloff::`anonymous-namespace'::getTypedModelNode(const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being compiled e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(139) : error C2228: left of '.is' must have class/struct/union type e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(154) : see reference to function template instantiation 'class com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl xmloff::`anonymous-namespace'::getTypedModelNode(const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being compiled e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(143) : error C2065: 'XChild' : undeclared identifier e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(154) : see reference to function template instantiation 'class com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl xmloff::`anonymous-namespace'::getTypedModelNode(const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being compiled e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(143) : error C2065: 'xChild' : undeclared identifier e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(154) : see reference to function template instantiation 'class com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl xmloff::`anonymous-namespace'::getTypedModelNode(const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being compiled e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(143) : warning C4804: '>' : unsafe use of type 'bool' in operation e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(154) : see reference to function template instantiation 'class com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl xmloff::`anonymous-namespace'::getTypedModelNode(const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being compiled e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(143) : warning C4552: '>' : operator has no effect; expected operator with side-effect e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(154) : see reference to function template instantiation 'class com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl xmloff::`anonymous-namespace'::getTypedModelNode(const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being compiled e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(144) : error C2228: left of '.is' must have class/struct/union type e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(154) : see reference to function template instantiation 'class com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl xmloff::`anonymous-namespace'::getTypedModelNode(const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being compiled e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(145) : error C2227: left of '->getParent' must point to class/struct/union e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(154) : see reference to function template instantiation 'class com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl xmloff::`anonymous-namespace'::getTypedModelNode(const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being compiled e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(136) : error C2893: Failed to specialize function template 'class com::sun::star::uno::Reference<TYPE> __cdecl xmloff::`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\xmloff\source\forms\formcellbinding.cxx(154) : see reference to function template instantiation 'class com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl xmloff::`anonymous-namespace'::getTypedModelNode(const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being compiled e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(136) : error C2143: syntax error : missing ')' before 'const' e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(154) : see reference to function template instantiation 'class com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl xmloff::`anonymous-namespace'::getTypedModelNode(const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being compiled e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(136) : error C2780: 'class com::sun::star::uno::Reference<TYPE> __cdecl xmloff::`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\xmloff\source\forms\formcellbinding.cxx(136) : see declaration of 'getTypedModelNode' e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(154) : see reference to function template instantiation 'class com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl xmloff::`anonymous-namespace'::getTypedModelNode(const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being compiled e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(136) : error C2059: syntax error : ')' e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(154) : see reference to function template instantiation 'class com::sun::star::uno::Reference<class com::sun::star::frame::XModel> __cdecl xmloff::`anonymous-namespace'::getTypedModelNode(const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being compiled e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(138) : error C2275: 'TYPE' : illegal use of this type as an expression e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(160) : see declaration of 'TYPE' e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(160) : see reference to function template instantiation 'class com::sun::star::uno::Reference<class com::sun::star::drawing::XDrawPage> __cdecl xmloff::`anonymous-namespace'::getTypedModelNode(const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being compiled e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(139) : error C2228: left of '.is' must have class/struct/union type e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(160) : see reference to function template instantiation 'class com::sun::star::uno::Reference<class com::sun::star::drawing::XDrawPage> __cdecl xmloff::`anonymous-namespace'::getTypedModelNode(const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being compiled e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(143) : warning C4804: '>' : unsafe use of type 'bool' in operation e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(160) : see reference to function template instantiation 'class com::sun::star::uno::Reference<class com::sun::star::drawing::XDrawPage> __cdecl xmloff::`anonymous-namespace'::getTypedModelNode(const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being compiled e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(143) : warning C4552: '>' : operator has no effect; expected operator with side-effect e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(160) : see reference to function template instantiation 'class com::sun::star::uno::Reference<class com::sun::star::drawing::XDrawPage> __cdecl xmloff::`anonymous-namespace'::getTypedModelNode(const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being compiled e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(144) : error C2228: left of '.is' must have class/struct/union type e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(160) : see reference to function template instantiation 'class com::sun::star::uno::Reference<class com::sun::star::drawing::XDrawPage> __cdecl xmloff::`anonymous-namespace'::getTypedModelNode(const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being compiled e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(145) : error C2227: left of '->getParent' must point to class/struct/union e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(160) : see reference to function template instantiation 'class com::sun::star::uno::Reference<class com::sun::star::drawing::XDrawPage> __cdecl xmloff::`anonymous-namespace'::getTypedModelNode(const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being compiled e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(136) : error C2893: Failed to specialize function template 'class com::sun::star::uno::Reference<TYPE> __cdecl xmloff::`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\xmloff\source\forms\formcellbinding.cxx(160) : see reference to function template instantiation 'class com::sun::star::uno::Reference<class com::sun::star::drawing::XDrawPage> __cdecl xmloff::`anonymous-namespace'::getTypedModelNode(const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being compiled e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(136) : error C2143: syntax error : missing ')' before 'const' e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(160) : see reference to function template instantiation 'class com::sun::star::uno::Reference<class com::sun::star::drawing::XDrawPage> __cdecl xmloff::`anonymous-namespace'::getTypedModelNode(const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being compiled e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(136) : error C2780: 'class com::sun::star::uno::Reference<TYPE> __cdecl xmloff::`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\xmloff\source\forms\formcellbinding.cxx(136) : see declaration of 'getTypedModelNode' e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(160) : see reference to function template instantiation 'class com::sun::star::uno::Reference<class com::sun::star::drawing::XDrawPage> __cdecl xmloff::`anonymous-namespace'::getTypedModelNode(const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)' being compiled e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(136) : error C2059: syntax error : ')' e:\w1\cws_srx645_ooo111fix1\xmloff\source\forms\formcellbinding.cxx(160) : see reference to function template instantiation 'class com::sun::star::uno::Reference<class com::sun::star::drawing::XDrawPage> __cdecl xmloff::`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\formcellbinding.obj' ERROR: Error 65280 occurred while making /w1/cws_srx645_ooo111fix1/xmloff/source/forms ---*TG_SLO.MK*--- dmake: Error code 129, while making 'build_all' This is P1 as VC6 still is supported for OOo 1.1.x codeline
Set target 1.1.1
vq->hr: I'm cc'ing you because you did the merge.
Inserted a few using statements and commited to ooo111fix1. Tested against MSVC6 SP3.
JSI->HR: Not my area. Please verify it on your side.
.
Closing
HR: "Tested against MSVC6 SP3." Well SP3 is outdated, the last one released for MSVC6 was SP5. Probably you should be testing against that. Thanks!