Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | obo05: VSE build breaks with warnings = errors | ||||||
---|---|---|---|---|---|---|---|
Product: | Build Tools | Reporter: | quetschke | ||||
Component: | code | Assignee: | oliver.bolte | ||||
Status: | CLOSED FIXED | QA Contact: | issues@tools <issues> | ||||
Severity: | Trivial | ||||||
Priority: | P2 | CC: | issues | ||||
Version: | current | ||||||
Target Milestone: | OOo 2.1 | ||||||
Hardware: | PC | ||||||
OS: | Windows, all | ||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Attachments: |
|
Description
quetschke
2006-09-16 18:13:08 UTC
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. |