Apache OpenOffice (AOO) Bugzilla – Issue 17609
IRIX: math stuff is in std namespace.
Last modified: 2010-03-29 20:48:50 UTC
tools/source/generic/line.cxx (sqrt) tools/source/generic/poly2.cxx (cos sin) Fix is a simple add std::sqrt std::cos and std::sin
set target milestone to 1.1.1
commited in the ooo111fix1 branch
On Windows with this patch: Making: ../../wntmsci9.pro/obj/line.obj guw.pl /cygdrive/c/Progra~1/Micros~3/VC98/Bin/cl.exe -Zm200 -c -nologo -Gs -Gy -I. -I. -I../inc -I../../inc -I../../WIN/inc -I../../wntmsci9.pro/inc -I. -I/cy gdrive/c/OOo/pavel/BuildDir/ooo_1.1.0_src/solver/645/wntmsci9.pro/inc/stl -I/cyg drive/c/OOo/pavel/BuildDir/ooo_1.1.0_src/solver/645/wntmsci9.pro/inc/external -I /cygdrive/c/OOo/pavel/BuildDir/ooo_1.1.0_src/solver/645/wntmsci9.pro/inc -I/cygd rive/c/OOo/pavel/BuildDir/ooo_1.1.0_src/solenv/wntmsci9/inc -I/cygdrive/c/OOo/pa vel/BuildDir/ooo_1.1.0_src/solenv/inc -I/cygdrive/c/OOo/pavel/BuildDir/ooo_1.1.0 _src/res -I/cygdrive/c/OOo/pavel/BuildDir/ooo_1.1.0_src/solver/645/wntmsci9.pro/ inc/stl -I/cygdrive/C/jdk1.4.1_05/include/win32 -I/cygdrive/C/jdk1.4.1_05/includ e -I'/cygdrive/C/Program Files/Microsoft SDK/include' -I/cygdrive/c/Progra~1/Mic ros~3/VC98/include -I. -I../../res -I. -Ob1 -Ox -Oy- -Gd -DWNT -DWNT -D NT351 -DMSC -DMI200 -DINTEL -D_USE_NAMESPACE -D_X86_=1 -DFULL_DESK -DSTLPORT_VE RSION=400 -DWINVER=0x400 -D_WIN32_IE=0x400 -D_MT -DCPPU_ENV=msci -DSUPD=645 -DBU ILD=8693 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCE PTIONS_OFF -DCUI -DSOLAR_JAVA -DSRX645 -DHAVE_GPC_H -DMULTITHREAD -DWIN32 -D_MT -D_DLL -DWIN32 -D_MT -D_DLL -W3 -Fo../../wntmsci9.pro/obj/line.obj /cygdrive/c/ OOo/pavel/BuildDir/ooo_1.1.0_src/tools/source/generic/line.cxx guw.pl /cygdrive/c/Progra~1/Micros~3/VC98/Bin/cl.exe @/tmp/mkb01512 Command: /cygdrive/c/Progra~1/Micros~3/VC98/Bin/cl.exe line.cxx c:\OOo\pavel\BuildDir\ooo_1.1.0_src\tools\source\generic\line.cxx(278) : error C 2039: 'sqrt' : is not a member of '_STL' dmake: Error code 2, while making '../../wntmsci9.pro/obj/line.obj' echo: No match. ERROR: Error 65280 occurred while making /cygdrive/c/OOo/pavel/BuildDir/ooo_1.1. 0_src/tools/source/generic
Sander?
umm... worksforme? ok, I haven't tried windows and I seriously was not expecting windows to be different from everything else in *this* way. I'll try to think of something
I mean - math *is* in the std:: namespace
The same applies for the other file: c:\OOo\pavel\BuildDir\ooo_1.1.0_src\tools\source\generic\poly2.cxx(862) : error C2039: 'sin' : is not a member of '_STL' c:\OOo\pavel\BuildDir\ooo_1.1.0_src\tools\source\generic\poly2.cxx(862) : error C2039: 'cos' : is not a member of '_STL' However, gcc on GNU/Linux and FreeBSD and also ForteC++ on Solaris can compile this code.
vq->svesik: MSVC build also breaks, see tinderbox. (FreeBSD seems to work)
Oops, Pavel was already talking about windows, sorry.
yep. I'll try to figure out the why part today or tommorow, sorry about the breakage, I really didn't anticpate it 8-(
Can we please revert the patch until we have a solution that doesn't break the windows build?
yes, please revert
Ok, reverted and committed in cws_srx645_ooo111fix1
retarget to 1.1.2
per issue 106845 sb removed the partial irix port, so this doesn't make sense in isolation anymore106845
closing