To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=79669
Issue #|79669
Summary|Build problem binfilter sbxform.cxx
Component|framework
Version|680m206
Platform|All
URL|
OS/Version|Windows, all
Status|UNCONFIRMED
Status whiteboard|
Keywords|
Resolution|
Issue type|PATCH
Priority|P3
Subcomponent|code
Assigned to|mba
Reported by|bulldozer
------- Additional comments from [EMAIL PROTECTED] Mon Jul 16 16:34:02 +0000
2007 -------
When OpenOffice is build the build will stop in binfilter. The error generated
is:
Making: ../../../wntmsci11.pro/slo/sbxform.obj
guw.exe /cygdrive/d/MICROS~1/VC/bin/cl.exe -Zm500 -Zc:forScope,wchar_t- -GR -c
-nologo -Gs -I. -I../../../wntmsci11.pro/inc/basic_sbx -I../inc
-I../../../inc/pch -I../../../inc -I../../../inc/bf_basic -I../../../WIN/inc
-I../../../wntmsci11.pro/inc -I.
-I/cygdrive/k/OO/solver/680/wntmsci11.pro/inc/stl
-I/cygdrive/k/OO/solver/680/wntmsci11.pro/inc/external
-I/cygdrive/k/OO/solver/680/wntmsci11.pro/inc
-I/cygdrive/k/OO/solenv/wntmsci11/inc -I/cygdrive/k/OO/solenv/inc
-I/cygdrive/k/OO/res -I/cygdrive/k/OO/solver/680/wntmsci11.pro/inc/stl
-I/cygdrive/d/J2SDK1~1.2_1/include/win32 -I/cygdrive/d/J2SDK1~1.2_1/include
-I/cygdrive/d/PLATFO~1/include -I/cygdrive/d/MICROS~1/VC/include
-I/cygdrive/d/DIRECT~1/include
-I/cygdrive/k/OO/solver/680/wntmsci11.pro/inc/offuh -I. -I../../../res -I. -Gy
-Ob1 -Oxs -Oy- -Gd -I. -I../../../wntmsci11.pro/inc/basic_sbx -I../inc
-I../../../inc/pch -I../../../inc -I../../../inc/bf_basic -I../../../WIN/inc
-I../../../wntmsci11.pro/inc -I.
-I/cygdrive/k/OO/solver/680/wntmsci11.pro/inc/stl
-I/cygdrive/k/OO/solver/680/wntmsci11.pro/inc/external
-I/cygdrive/k/OO/solver/680/wntmsci11.pro/inc
-I/cygdrive/k/OO/solenv/wntmsci11/inc -I/cygdrive/k/OO/solenv/inc
-I/cygdrive/k/OO/res -I/cygdrive/k/OO/solver/680/wntmsci11.pro/inc/stl
-I/cygdrive/d/J2SDK1~1.2_1/include/win32 -I/cygdrive/d/J2SDK1~1.2_1/include
-I/cygdrive/d/PLATFO~1/include -I/cygdrive/d/MICROS~1/VC/include
-I/cygdrive/d/DIRECT~1/include
-I/cygdrive/k/OO/solver/680/wntmsci11.pro/inc/offuh -I. -I../../../res -I. -Wall
-wd4061 -wd4127 -wd4191 -wd4217 -wd4251 -wd4275 -wd4290 -wd4294 -wd4355
-wd4511 -wd4512 -wd4514 -wd4611 -wd4625 -wd4626 -wd4640 -wd4675 -wd4710
-wd4711 -wd4786 -wd4800 -wd4820 -wd4503 -wd4619 -wd4365 -wd4668 -wd4738
-wd4826
-wd4350 -wd4505 -wd4692 -wd4189 -DWNT -DWNT -DNT351 -DMSC -DM1400 -DINTEL
-D_X86_=1 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE
-D_CRT_NON_CONFORMING_SWPRINTFS -DFULL_DESK -DSTLPORT_VERSION=400 -DWINVER=0x400
-D_WIN32_IE=0x400 -D_MT -DCPPU_ENV=msci -DSUPD=680 -DPRODUCT -DNDEBUG
-DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI -DSOLAR_JAVA -DSRC680=SRC680
-DSHAREDLIB -D_DLL_ -DWIN32 -D_MT -D_DLL -DWIN32 -D_MT -D_DLL
-DEXCEPTIONS_OFF -Fo../../../wntmsci11.pro/slo/sbxform.obj
/cygdrive/k/OO/binfilter/bf_basic/source/sbx/sbxform.cxx
guw.exe /cygdrive/d/MICROS~1/VC/bin/cl.exe @/tmp/mkrSt6QN
sbxform.cxx
k:\OO\binfilter\bf_basic\source\sbx\sbxform.cxx(319) : error C2668:
'binfilter::abs' : ambiguous call to overloaded function
d:\MICROS~1\VC\include\../include/math.h(539): could be 'long double
binfilter::abs(long double)'
d:\MICROS~1\VC\include\../include/math.h(491): or 'float
binfilter::abs(float)'
d:\MICROS~1\VC\include\../include/math.h(487): or 'double
binfilter::abs(double)'
d:\MICROS~1\VC\include\../include/math.h(485): or 'long
binfilter::abs(long)'
while trying to match the argument list '(int)'
Therefor I changed the source file. The difference is:
cvs diff -- sbxform.cxx (in directory K:\OO\binfilter\bf_basic\source\sbx)
Index: sbxform.cxx
===================================================================
RCS file: /cvs/framework/binfilter/bf_basic/source/sbx/sbxform.cxx,v
retrieving revision 1.2
diff -r1.2 sbxform.cxx
318c318,319
< if( nPos>nNumExp || abs(nNumExp-nPos)>MAX_NO_OF_DIGITS )
---
> if( nPos>nNumExp || abs((long)(nNumExp-nPos))>MAX_NO_OF_DIGITS )
> // if( nPos>nNumExp || abs(nNumExp-nPos)>MAX_NO_OF_DIGITS )
Used platform:
Visual Studio 2005 Professional
dmake Version: dmake - Version 4.9 (i686-pc-cygwin)
Copyright (c) 1990,...,1997 by WTI Corp.
Default Configuration:
MAXPROCESSLIMIT := 64
MAXLINELENGTH := 32766
DMAKEROOT := ${prefix}/share/startup
.IMPORT .IGNORE: DMAKEROOT
.MAKEFILES : makefile.mk Makefile makefile
.SOURCE : .NULL
MAKESTARTUP := $(DMAKEROOT)/startup.mk
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]