Issue 13678 - OOo-1.0.3 compile breaks in cppuhelper
Summary: OOo-1.0.3 compile breaks in cppuhelper
Status: CLOSED FIXED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: Other Windows XP
: P3 Trivial
Target Milestone: ---
Assignee: Martin Hollmichel
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-21 16:24 UTC by pezz
Modified: 2013-02-24 21:08 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 pezz 2003-04-21 16:24:58 UTC
Let's hope I'll find help from here:) 
 
Hi, 
 
I get this error while compiling OOo-1.0.3 on windows. I'm using WinXP, 
VC++ 6.0 SP5, JDK 1.3.1_07, cygwin and platform SDK as they came from 
internet today. 
 
Making:..\wntmsci7.pro\slo\cppuhelper3MSC_description.obj 
c:\PROGRA~1\MICROS~2\VC98\bin\cl.exe -Zm200 -c -nologo -W3 -Gs -Gy  -I. -I..\wnt 
msci7.pro\inc -I..\inc -I..\inc -I..\WIN\inc -I..\wntmsci7.pro\inc -I. -Ic:\oo\o 
o103\solver\641\wntmsci7.pro\inc\stl -Ic:\oo\oo103\solver\641\wntmsci7.pro\inc\e 
xternal -Ic:\oo\oo103\solver\641\wntmsci7.pro\inc -Ic:\oo\oo103\solenv\wntmsci7\ 
inc -Ic:\oo\oo103\solenv\inc -Ic:\oo\oo103\res -Ic:\oo\oo103\solver\641\wntmsci7 
.pro\inc\stl -Ic:\jdk131\include\win32 -Ic:\jdk131\include -Ic:\progra~1\micros~ 
2\vc98\include     -I. -I..\res -I. -Ob1 -Ox -Gd  -GX   -DWNT -DWNT -DNT351 -DMS 
C -DMI200 -DINTEL -D_USE_NAMESPACE -D_X86_=1  -DFULL_DESK 
-DSTLPORT_VERSION=400 
-D_MT -DCPPU_ENV=msci -DSUPD=641 -DBUILD=8584 -DPRODUCT -DNDEBUG 
-DPRODUCT_FULL 
-DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC641  -DSHAREDLIB 
-D_DLL_ -DWI 
N32 -D_MT -D_DLL -DWIN32 -D_MT -D_DLL -DMULTITHREAD   -Fo..\wntmsci7.pro\slo\cpp 
uhelper3MSC_description.obj ..\wntmsci7.pro\misc\cppuhelper3MSC_description.cxx 
 
c:\PROGRA~1\MICROS~2\VC98\bin\cl.exe @c:\DOCUME~1\pezz\LOCALS~1\Temp\mka25 
cppuhelper3MSC_description.cxx 
------------------------------ 
Making:..\wntmsci7.pro\bin\cppuhelper3MSC.dll 
     0 files deleted 
c:\PROGRA~1\MICROS~2\VC98\bin\cl.exe -c -Fo..\wntmsci7.pro\slo\cppuhelper3MSC_ve 
rsion.obj -DWNT  -I..\wntmsci7.pro\inc c:\oo\oo103\solenv\src\version.c 
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86 
Copyright (C) Microsoft Corp 1984-1998. All rights reserved. 
 
version.c 
rc -DWIN32 -I -I. -I..\wntmsci7.pro\inc -I..\inc -I..\inc -I..\WIN\inc -I..\wntm 
sci7.pro\inc -I. -Ic:\oo\oo103\solver\641\wntmsci7.pro\inc\stl -Ic:\oo\oo103\sol 
ver\641\wntmsci7.pro\inc\external -Ic:\oo\oo103\solver\641\wntmsci7.pro\inc -Ic: 
\oo\oo103\solenv\wntmsci7\inc -Ic:\oo\oo103\solenv\inc -Ic:\oo\oo103\res -Ic:\oo 
\oo103\solver\641\wntmsci7.pro\inc\stl -Ic:\jdk131\include\win32 -Ic:\jdk131\inc 
lude -Ic:\progra~1\micros~2\vc98\include     -I. -I..\res -I.  ..\wntmsci7.pro\m 
isc\cppuhelper3MSC_def.rc 
copy /b ..\wntmsci7.pro\misc\cppuhelper3MSC_def.res ..\wntmsci7.pro\misc\cppuhel 
per3MSC.res 
C:\oo\oo103\cppuhelper\wntmsci7.pro\misc\cppuhelper3MSC_def.RES => C:\oo\oo103\c 
ppuhelper\wntmsci7.pro\misc\cppuhelper3MSC.res 
     1 file copied 
link /COMMENT:"cppuhelper_641______"  /MACHINE:IX86 @c:\DOCUME~1\pezz\LOCALS~1\T 
emp\mkch6 
Microsoft (R) Incremental Linker Version 6.00.8447 
Copyright (C) Microsoft Corp 1992-1998. All rights reserved. 
 
/MAP /NODEFAULTLIB /OPT:NOREF /RELEASE /SUBSYSTEM:CONSOLE /DLL 
/BASE:0x1100000 / 
DEBUG /PDB:NONE -out:..\wntmsci7.pro\bin\_cppuhelper3MSC.dll -map:..\wntmsci7.pr 
o\misc\_cppuhelper3MSC.map -def:..\wntmsci7.pro\misc\cppuhelper3MSC.def -implib: 
..\wntmsci7.pro\lib\icppuhelper.lib ..\wntmsci7.pro\slo\cppuhelper3MSC_version.o 
bj ..\wntmsci7.pro\slo\cppuhelper3MSC_description.obj ..\wntmsci7.pro\slb\cppuhe 
lper.lib icppu.lib isal.lib msvcrt.lib kernel32.lib user32.lib oldnames.lib stlp 
ort_vc6.lib ..\wntmsci7.pro\misc\cppuhelper3MSC.res 
..\wntmsci7.pro\misc\cppuhelper3MSC.def : warning LNK4017: DATA statement not su 
pported for the target platform; ignored 
..\wntmsci7.pro\misc\cppuhelper3MSC.def : warning LNK4102: export of deleting de 
structor "public: virtual void * __thiscall cppu::OComponentHelper::`scalar dele 
ting destructor'(unsigned int)"; image may not run correctly 
..\wntmsci7.pro\misc\cppuhelper3MSC.def : warning LNK4102: export of deleting de 
structor "protected: virtual void * __thiscall cppu::OWeakAggObject::`scalar del 
eting destructor'(unsigned int)"; image may not run correctly 
..\wntmsci7.pro\misc\cppuhelper3MSC.def : warning LNK4102: export of deleting de 
structor "protected: virtual void * __thiscall cppu::OWeakObject::`scalar deleti 
ng destructor'(unsigned int)"; image may not run correctly 
..\wntmsci7.pro\mis
Comment 1 ooo 2003-04-24 08:23:07 UTC
UNO, not API
Comment 2 Daniel Boelzle [:dbo] 2003-04-24 10:54:05 UTC
I don't see any problem here: the linker just warns about scalar dtors
which is known, but ok.  Though you ought to have a library in your
output directory.  Please be more investigative before submitting bugs.
Comment 3 quetschke 2003-04-24 13:42:57 UTC
Im not the reporter, but he already send this problem to dev@
and there he didn't cut off the main part of the error message.
See:
<http://www.openoffice.org/servlets/ReadMsg?msgId=655974&listName=dev>
Comment 4 quetschke 2003-04-24 13:45:54 UTC
Give him a second chance. ;-)
Comment 5 pezz 2003-04-24 14:12:05 UTC
Oops, my bad. Sorry:| I did select all and paste into issuezilla but looks like most  
useful part got lost somewhere on the way. Another evidence of Murphy's laws 
working:) 
 
Comment 6 Daniel Boelzle [:dbo] 2003-04-24 15:16:47 UTC
Peeter,

make sure that you are at least working on the following revisions:

cppuhelper/inc/cppuhelper/weak.hxx rev 1.7
cppuhelper/source/weak.cxx rev 1.7

@Martin: why are these files in UDK303, but not in OOo 1.03?
Comment 7 pezz 2003-04-24 15:26:57 UTC
Hm. I use OOo source from official OOo_1.0.3_source.tar.bz2 package and it 
contains weak.hxx version 1.6 and weak.cxx version 1.5.  
cvs update -r OOO_STABLE_1 -dAP doesn't update anything. 
Comment 8 Daniel Boelzle [:dbo] 2003-04-24 15:35:36 UTC
@Peter:  I know, but it ought to be (at least) the mentioned
revisions.   That's what I asked Martin for.
Comment 9 Daniel Boelzle [:dbo] 2003-04-24 16:17:42 UTC
@Martin: as agreed to you.
Comment 10 pezz 2003-04-25 16:21:43 UTC
Version 1.7 of both files fixed my problem so I'm pleased but I think other people  
on windows will still hit same problem. What I can't believe is that I'm the first one  
in two weeks to try to compile 1.0.3 on windows..maybe just with a voice loud  
enough;)  
  
Anyway, thanks a lot:)  
 
Comment 11 quetschke 2003-04-25 20:15:23 UTC
Well, I routinely build OOo, also OOO_STABLE_1 and I never run into this
problem.

But I used MSVC 6 SP3, maybe that's the difference.
Comment 12 Martin Hollmichel 2003-05-19 11:32:43 UTC
set target.
Comment 13 utomo99 2003-10-31 04:10:08 UTC
Hello, 

I found that this Issue is targetted to 1.0.4. 
Is this already solved in 1.1 ? if not Can you please retargetting
this issue since 1.0.4 is not planned. maybe to 1.1.1 ? 

Thanks
Comment 14 pezz 2003-10-31 07:32:54 UTC
If 1.0.x branch is dead, then I can close this as 1.1.0 compiled 
fine for me. 
Comment 15 pezz 2003-10-31 07:34:06 UTC
1.0.x branch is dead.