Apache OpenOffice (AOO) Bugzilla – Issue 69591
obo05: VSE build breaks with warnings = errors
Last modified: 2006-09-29 14:18:12 UTC
Warnings = Errors breaks the VS Express build in sal: Making: ../../wntmsci11.pro/obj/unload.obj guw.pl /cygdrive/c/PROGRA~1/MID05A~1/VC/bin/cl.exe -Zm500 -Zc:forScope,wchar_t- -GR -c -nologo -Gs -I. -I../../wntmsci11.pro/inc/cpprtl -I../inc -I../../inc/pch -I../../inc -I../../WIN/inc -I../../wntmsci11.pro/inc -I. -I/cygdrive/d/w1/tin_obo05/solver/680/wntmsci11.pro/inc/stl -I/cygdrive/d/w1/tin_obo05/solver/680/wntmsci11.pro/inc/external -I/cygdrive/d/w1/tin_obo05/solver/680/wntmsci11.pro/inc -I/cygdrive/d/w1/tin_obo05/solenv/wntmsci11/inc -I/cygdrive/d/w1/tin_obo05/solenv/inc -I/cygdrive/d/w1/tin_obo05/res -I/cygdrive/d/w1/tin_obo05/solver/680/wntmsci11.pro/inc/stl -I/cygdrive/c/J2SDK1~1.2_0/include/win32 -I/cygdrive/c/J2SDK1~1.2_0/include -I/cygdrive/c/PROGRA~1/MICROS~4/include -I/cygdrive/c/PROGRA~1/MID05A~1/VC/include -I/cygdrive/c/PROGRA~1/MICROS~1.0SD/include -I/cygdrive/d/w1/tin_obo05/solver/680/wntmsci11.pro/inc/offuh -I. -I../../res -I. -Gy -Ob1 -Oxs -Oy- -Gd -I. -I../../wntmsci11.pro/inc/cpprtl -I../inc -I../../inc/pch -I../../inc -I../../WIN/inc -I../../wntmsci11.pro/inc -I. -I/cygdrive/d/w1/tin_obo05/solver/680/wntmsci11.pro/inc/stl -I/cygdrive/d/w1/tin_obo05/solver/680/wntmsci11.pro/inc/external -I/cygdrive/d/w1/tin_obo05/solver/680/wntmsci11.pro/inc -I/cygdrive/d/w1/tin_obo05/solenv/wntmsci11/inc -I/cygdrive/d/w1/tin_obo05/solenv/inc -I/cygdrive/d/w1/tin_obo05/res -I/cygdrive/d/w1/tin_obo05/solver/680/wntmsci11.pro/inc/stl -I/cygdrive/c/J2SDK1~1.2_0/include/win32 -I/cygdrive/c/J2SDK1~1.2_0/include -I/cygdrive/c/PROGRA~1/MICROS~4/include -I/cygdrive/c/PROGRA~1/MID05A~1/VC/include -I/cygdrive/c/PROGRA~1/MICROS~1.0SD/include -I/cygdrive/d/w1/tin_obo05/solver/680/wntmsci11.pro/inc/offuh -I. -I../../res -I. -EHa -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 -WX -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 -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680 -DMULTITHREAD -DWIN32 -D_MT -D_DLL -DWIN32 -D_MT -D_DLL -Fo../../wntmsci11.pro/obj/unload.obj /cygdrive/d/w1/tin_obo05/sal/rtl/source/unload.cxx guw.pl /cygdrive/c/PROGRA~1/MID05A~1/VC/bin/cl.exe @/tmp/mkdVXJAU unload.cxx d:\w1\tin_obo05\solver\680\wntmsci11.pro\inc\stl\stl\_deque.c(80) : error C2220: warning treated as error - no 'object' file generated d:\w1\tin_obo05\solver\680\wntmsci11.pro\inc\stl\stl\_deque.c(80) : warning C4701: potentially uninitialized local variable '__cur' used dmake: Error code 2, while making '../../wntmsci11.pro/obj/unload.obj'
Well, this seems to be an stlport header problem, I get this in testshl2 d:\w1\tin_obo05\solver\680\wntmsci11.pro\inc\stl\stl\_deque.c(80) : error C2220: warning treated as error - no 'object' file generated d:\w1\tin_obo05\solver\680\wntmsci11.pro\inc\stl\stl\_deque.c(80) : warning C4701: potentially uninitialized local variable '__cur' used dmake: Error code 2, while making '../../wntmsci11.pro/slo/TestResult.obj' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /cygdrive/d/w1/tin_obo05/testshl2/source/result .... same problem in comphelper/source/eventattachermgr
And this guw.pl /cygdrive/c/PROGRA~1/MID05A~1/VC/bin/cl.exe @/tmp/mkUmOnJA b2dbeziertools.cxx ..\..\inc\basegfx/numeric/ftools.hxx(116) : error C2220: warning treated as error - no 'object' file generated ..\..\inc\basegfx/numeric/ftools.hxx(116) : warning C4244: 'return' : conversion from 'const long double' to 'double', possible loss of data dmake: Error code 2, while making '../../wntmsci11.pro/slo/b2dbeziertools.obj' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /cygdrive/d/w1/tin_obo05/basegfx/source/curve in basegfx/source/curve.
Another _deque.c warning in stoc/source/tdmanager
And in pyuno: guw.pl /cygdrive/c/PROGRA~1/MID05A~1/VC/bin/cl.exe @/tmp/mk8Z9LF5 pyuno_runtime.cxx d:\w1\tin_obo05\pyuno\source\module\pyuno_runtime.cxx(592) : error C2220: warning treated as error - no 'object' file generated d:\w1\tin_obo05\pyuno\source\module\pyuno_runtime.cxx(592) : warning C4701: potentially uninitialized local variable 'i' used dmake: Error code 2, while making '../../wntmsci11.pro/slo/pyuno_runtime.obj'
Another _deque.c warning in bridges
And another in package/source/manifest - for now I disable C4701. And another in tools/source/generic - for now I disable C4244.
guw.pl /cygdrive/c/PROGRA~1/MID05A~1/VC/bin/cl.exe @/tmp/mk4cWkUB threadex.cxx d:\w1\tin_obo05\solver\680\wntmsci11.pro\inc\boost/type_traits/type_with_alignment.hpp(109) : error C2220: warning treated as error - no 'object' file generated d:\w1\tin_obo05\solver\680\wntmsci11.pro\inc\boost/type_traits/type_with_alignment.hpp(118) : see reference to class template instantiation 'boost::type_with_alignment<Align>' being compiled d:\w1\tin_obo05\solver\680\wntmsci11.pro\inc\boost/type_traits/type_with_alignment.hpp(109) : warning C4018: '>=' : signed/unsigned mismatch dmake: Error code 2, while making '../../wntmsci11.pro/slo/threadex.obj' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /cygdrive/d/w1/tin_obo05/vcl/source/helper Disabling C4018 ...
Created attachment 39201 [details] Workaround patch
I've created a new patch in stlport which disables warning 4701 in _deque.c.
Sorry, I was abusing this issue a bit. But did you see the C4244: 'return' : conversion from 'const long double' to 'double', possible loss of data and C4701: potentially uninitialized local variable 'i' used part?
yes, it seems that I've few local changes which havn't already made it into the cws.
I've commited a changed pyuno/source/module/pyuno_runtime.cxx
basegfx/inc/basegfx/numeric/ftools.hxx commited.
package and tools builds for me without warning.
Earlier today I started a fresh rebuild of obo05 and so far I got one problem: <http://go-oo.org/tinderbox/gunzip.cgi?tree=obo05&brief-log=1158697032.3335#EOF> d:\w1\tin_obo05\solver\680\wntmsci11.pro\inc\boost/type_traits/type_with_alignment.hpp(109) : error C2220: warning treated as error - no 'object' file generated d:\w1\tin_obo05\solver\680\wntmsci11.pro\inc\boost/type_traits/type_with_alignment.hpp(118) : see reference to class template instantiation 'boost::type_with_alignment<Align>' being compiled d:\w1\tin_obo05\solver\680\wntmsci11.pro\inc\boost/type_traits/type_with_alignment.hpp(109) : warning C4018: '>=' : signed/unsigned mismatch dmake: Error code 2, while making '../../wntmsci11.pro/slo/threadex.obj' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /cygdrive/d/w1/tin_obo05/vcl/source/helper After adding vcl to MODULES_WITH_WARNINGS I continued the build and it is looking good so far, the build is currently in sc and still building.
Hi Volker, I've added vcl to the list of modules with warnings in wntmsci11.mk. Setting this issue to fixed, it hopefully builds now :-) Oliver
Jep, it's fixed. The build finished with no further problems.
closed.