Christian Lohmaier wrote:
Hi Stephan,
On Tue, Jun 20, 2006 at 10:28:51AM +0200, Stephan Bergmann wrote:
almost a year ago, I announced that we started a project to get the OOo
(C/C++) code base warning-free, see
<http://www.openoffice.org/servlets/ReadMsg?list=dev&msgNo=14653>.
Today, I can announce that a large part of this project (CWS warnings01)
is right now being integrated into SRC680m173.
Hmm - I fear you need to "masterfix" to allow building with gpc.
Making: ../unxlngi6.pro/slo/gpc.obj
cc1: warnings being treated as errors
gpc.c: In function ‘gpc_polygon_clip’:
gpc.c:1130: warning: ‘tl’ may be used uninitialized in this function
gpc.c:1130: warning: ‘tr’ may be used uninitialized in this function
gpc.c:1130: warning: ‘bl’ may be used uninitialized in this function
gpc.c:1130: warning: ‘br’ may be used uninitialized in this function
gpc.c:1129: warning: ‘contributing’ may be used uninitialized in this
function
gpc.c:1131: warning: ‘dy’ may be used uninitialized in this function
gpc.c:1131: warning: ‘yt’ may be used uninitialized in this function
dmake: Error code 1, while making '../unxlngi6.pro/slo/gpc.obj'
ERROR: Error 65280 occurred while making
/home/cloph/compile/shadow/external/gpcdmake: Error code 1, while
making 'instsetoo_native/prj/build_instsetoo_native''---* tg_merge.mk
*---'
http://go-oo.org/tinderbox/warnings01/status.html
This is strange, as external/gpc/makefile.mk:1.3.18.1 contains
EXTERNAL_WARNINGS_NOT_ERRORS=TRUE, which should cause warnings not to be
treated as errors when building gpc. Can you make sure that you have
got the correct version of makefile.mk, and if yes provide me with a few
more log lines before the error occurs (I were not able to extract that
from the above tinderbox link, but am not really familiar with tinderbox).
-Stephan
- I just yesterday stumbled upon the that for unxlngi6[.pro], we only
concentrated on GCC 3.4.1, while other GCC versions produce slightly
different warnings (that will break the build now on those GCC
versions), see <http://www.openoffice.org/issues/show_bug.cgi?id=66577>.
Could be related to that one.
Is Sun building with gpc at all?
[...]
ciao
Christian
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]