Kaydet (Commit) 69771d5b authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

INTEGRATION: CWS hr50 (1.18.58); FILE MERGED

2008/04/10 17:00:55 hr 1.18.58.1: #i86574#: work around a bogus compiler warning (gcc-4.2.3)
üst 5f8e1815
......@@ -8,7 +8,7 @@
#
# $RCSfile: makefile.mk,v $
#
# $Revision: 1.20 $
# $Revision: 1.21 $
#
# This file is part of OpenOffice.org.
#
......@@ -42,6 +42,18 @@ NO_BSYMBOLIC=TRUE
.INCLUDE: settings.mk
# GCC versions 4.2.x introduced a warning "allocating zero-element array"
# Allocating zero-element arrays is an allowed if not somewhat dubious
# technique though, so this warning is plain wrong and has been fixed
# in gcc 4.3. Unfortunately there is no way at all to suppress this warning.
# Some files in this directory use zero allocated arrays, we need to
# diable the WaE mechanism for the GCC 4.2.x series.
.IF "$(COM)"=="GCC"
.IF "$(CCNUMVER)">="000400020000" && "$(CCNUMVER)"<="000400020003"
CFLAGSWERRCXX:=
.ENDIF # "$(CCNUMVER)">="000400020000" && "$(CCNUMVER)"<="000400020003"
.ENDIF # "$(COM)"=="GCC"
CFLAGS += -DHAVE_EXPAT_H
.IF "$(SYSTEM_DB)" == "YES"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment