INTEGRATION: CWS warnings01 (1.19.56); FILE MERGED
2006/04/20 13:58:28 sb 1.19.56.7: #i53898# Temporarily introduced MODULES_WITH_WARNINGS, until all modules are warning-free. 2006/01/25 19:06:09 sb 1.19.56.6: RESYNC: (1.21-1.23); FILE MERGED 2005/10/28 09:33:52 sb 1.19.56.5: #i53898# Switched off reftotemp warning; added comments about switched off warnings. 2005/10/19 16:00:57 sb 1.19.56.4: #i53898# Switch on the effects of wall=1 per default on certain platforms. 2005/09/22 23:30:11 sb 1.19.56.3: RESYNC: (1.19-1.21); FILE MERGED 2005/08/31 09:41:29 sb 1.19.56.2: #i53898# Contrary to previous belief, cc *does* generate warnings (about unreachable code, for example). Globally disabled doubunder for CC. 2005/08/29 11:48:53 sb 1.19.56.1: #i53898# Changed and extended CFLAGSDFTLWARN/CFLAGSWALL to CFLAGS{WARN|WALL|WERR}{CC|CXX}.
This commit is contained in:
parent
7fec08a26c
commit
64871c4996
1 changed files with 52 additions and 6 deletions
|
@ -4,9 +4,9 @@
|
|||
#
|
||||
# $RCSfile: unxsols4.mk,v $
|
||||
#
|
||||
# $Revision: 1.23 $
|
||||
# $Revision: 1.24 $
|
||||
#
|
||||
# last change: $Author: rt $ $Date: 2006-01-13 16:19:24 $
|
||||
# last change: $Author: hr $ $Date: 2006-06-19 17:17:40 $
|
||||
#
|
||||
# The Contents of this file are made available subject to
|
||||
# the terms of GNU Lesser General Public License Version 2.1.
|
||||
|
@ -88,10 +88,56 @@ CFLAGSOPT=-xarch=v8plus -xO3 -xspace -xprefetch=yes
|
|||
CFLAGSNOOPT=
|
||||
CFLAGSOUTOBJ=-o
|
||||
|
||||
# Enable all warnings
|
||||
CFLAGSWALL=+w2
|
||||
# Set default warn level
|
||||
CFLAGSDFLTWARN=
|
||||
# Warnings switched off for CXX:
|
||||
# - doubunder: we have many identifiers containing double underscores, some of
|
||||
# them in the stable UDK API we cannot change
|
||||
# - inllargeuse: "function is too large and will not be expanded inline" 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))
|
||||
CFLAGSWARNCC=
|
||||
CFLAGSWARNCXX=+w2 -erroff=doubunder,inllargeuse,notemsource,reftotemp
|
||||
CFLAGSWALLCC=$(CFLAGSWARNCC)
|
||||
CFLAGSWALLCXX=$(CFLAGSWARNCXX)
|
||||
CFLAGSWERRCC=-errwarn=%all
|
||||
CFLAGSWERRCXX=-xwe
|
||||
|
||||
# Once all modules on this platform compile without warnings, set
|
||||
# COMPILER_WARN_ERRORS=TRUE here instead of setting MODULES_WITH_WARNINGS (see
|
||||
# settings.mk):
|
||||
MODULES_WITH_WARNINGS := \
|
||||
b_server \
|
||||
basctl \
|
||||
binfilter \
|
||||
canvas \
|
||||
chart2 \
|
||||
cppcanvas \
|
||||
desktop \
|
||||
devtools \
|
||||
dxcanvas \
|
||||
extensions \
|
||||
filter \
|
||||
finalize \
|
||||
glcanvas \
|
||||
instset_native \
|
||||
instsetoo_native \
|
||||
lingu \
|
||||
postprocess \
|
||||
r_tools \
|
||||
sc \
|
||||
sch \
|
||||
sd \
|
||||
slideshow \
|
||||
smoketest_native \
|
||||
smoketestoo_native \
|
||||
starmath \
|
||||
svx \
|
||||
sw \
|
||||
top \
|
||||
writerperfect \
|
||||
xmlsecurity
|
||||
|
||||
STDOBJVCL=$(L)$/salmain.o
|
||||
|
||||
|
|
Loading…
Reference in a new issue