summaryrefslogtreecommitdiff
path: root/solenv/inc/unxsols4.mk
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2006-08-01 10:48:02 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2006-08-01 10:48:02 +0000
commit52f3304b234c72202490a4994918960773d68340 (patch)
tree524ad30e0abe7ea137435cbfc59999d7976ba773 /solenv/inc/unxsols4.mk
parent9841bc63b8d1f0d4169591e71608b6e3f861936f (diff)
INTEGRATION: CWS pj55 (1.25.34); FILE MERGED
2006/07/24 20:56:17 pjanik 1.25.34.3: RESYNC: (1.25-1.26); FILE MERGED 2006/07/20 09:39:15 pjanik 1.25.34.2: #i67408#: Disable truncwarn warning 2006/07/15 09:56:10 pjanik 1.25.34.1: #i67301#: do not warn on "function is too large to generate inline, consider writing it yourself."
Diffstat (limited to 'solenv/inc/unxsols4.mk')
-rw-r--r--solenv/inc/unxsols4.mk14
1 files changed, 10 insertions, 4 deletions
diff --git a/solenv/inc/unxsols4.mk b/solenv/inc/unxsols4.mk
index 93f96f95a105..9b5e856a2c7e 100644
--- a/solenv/inc/unxsols4.mk
+++ b/solenv/inc/unxsols4.mk
@@ -4,9 +4,9 @@
#
# $RCSfile: unxsols4.mk,v $
#
-# $Revision: 1.26 $
+# $Revision: 1.27 $
#
-# last change: $Author: kz $ $Date: 2006-07-19 15:08:57 $
+# last change: $Author: ihi $ $Date: 2006-08-01 11:48:02 $
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
@@ -93,12 +93,19 @@ CFLAGSOUTOBJ=-o
# them in the stable UDK API we cannot change
# - inllargeuse: "function is too large and will not be expanded inline" is
# merely a hint
+# - inllargeint: "function is too large to generate inline, consider writing
+# it yourself" is merely a hint
# - notemsource: "could not find source for function" appears to be spurious
# - reftotemp: warns about calling non-const functions on temporary objects,
# something legally done by boost::scoped_array<T>::reset, for example
# (this_type(p).swap(*this))
+# - truncwarn: "conversion of 64 bit type value to smaller type causes
+# truncation" at least with CC 5.8 is reported only at the end of a
+# compilation unit that uses std::hash_map<sal_Int64, sal_Int64> (see
+# sfx2/source/toolbox/imgmgr.cxx:1.27) and thus unfortunately needs to be
+# disabled globally
CFLAGSWARNCC=
-CFLAGSWARNCXX=+w2 -erroff=doubunder,inllargeuse,notemsource,reftotemp
+CFLAGSWARNCXX=+w2 -erroff=doubunder,inllargeuse,inllargeint,notemsource,reftotemp,truncwarn
CFLAGSWALLCC=$(CFLAGSWARNCC)
CFLAGSWALLCXX=$(CFLAGSWARNCXX)
CFLAGSWERRCC=-errwarn=%all
@@ -221,7 +228,6 @@ LIBSTLPORT=$(DYNAMIC) -lstlport_sunpro
LIBSTLPORTST=$(STATIC) -lstlport_sunpro $(DYNAMIC)
.ENDIF # "$(USE_STLP_DEBUG)" != ""
-
LIBMGR=CC
LIBFLAGS=-xar -o