Kaydet (Commit) 972d905d authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

INTEGRATION: CWS warnings01 (1.34.56); FILE MERGED

2006/05/23 19:01:03 sb 1.34.56.7: RESYNC: (1.38-1.39); FILE MERGED
2006/04/07 18:31:55 sb 1.34.56.6: RESYNC: (1.37-1.38); FILE MERGED
2006/01/25 19:04:21 sb 1.34.56.5: RESYNC: (1.36-1.37); FILE MERGED
2005/11/09 10:34:29 sb 1.34.56.4: #i53898# CFLAGSWARN...: cleaned up and incorporated changes already made for unxlngi6.mk.
2005/11/07 17:19:27 pl 1.34.56.3: RESYNC: (1.35-1.36); FILE MERGED
2005/09/22 23:26:49 sb 1.34.56.2: RESYNC: (1.34-1.35); FILE MERGED
2005/08/29 11:48:50 sb 1.34.56.1: #i53898# Changed and extended CFLAGSDFTLWARN/CFLAGSWALL to CFLAGS{WARN|WALL|WERR}{CC|CXX}.
üst 4e489eec
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
# #
# $RCSfile: unxlngi4.mk,v $ # $RCSfile: unxlngi4.mk,v $
# #
# $Revision: 1.39 $ # $Revision: 1.40 $
# #
# last change: $Author: hr $ $Date: 2006-04-20 13:32:27 $ # last change: $Author: hr $ $Date: 2006-06-19 17:14:31 $
# #
# The Contents of this file are made available subject to # The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1. # the terms of GNU Lesser General Public License Version 2.1.
...@@ -70,7 +70,7 @@ CXX*=g++ ...@@ -70,7 +70,7 @@ CXX*=g++
# name of C Compiler # name of C Compiler
CC*=gcc CC*=gcc
# flags for C and C++ Compiler # flags for C and C++ Compiler
CFLAGS+=-Wuninitialized -fmessage-length=0 -c $(INCLUDE) CFLAGS+=-fmessage-length=0 -c $(INCLUDE)
# flags to enable build with symbols; required for crashdump feature # flags to enable build with symbols; required for crashdump feature
.IF "$(ENABLE_SYMBOLS)"=="SMALL" .IF "$(ENABLE_SYMBOLS)"=="SMALL"
...@@ -87,7 +87,6 @@ CFLAGSEXCEPTIONS=-fexceptions -fno-enforce-eh-specs ...@@ -87,7 +87,6 @@ CFLAGSEXCEPTIONS=-fexceptions -fno-enforce-eh-specs
CFLAGS_NO_EXCEPTIONS=-fno-exceptions CFLAGS_NO_EXCEPTIONS=-fno-exceptions
CFLAGSCXX= -pipe $(ARCH_FLAGS) CFLAGSCXX= -pipe $(ARCH_FLAGS)
CFLAGSCXX+= -Wno-ctor-dtor-privacy
# HACK: enable Hamburg developers to build on glibc-2.2 machines but compile vs. glibc-2.1 headers # HACK: enable Hamburg developers to build on glibc-2.2 machines but compile vs. glibc-2.1 headers
.IF "$(BUILD_SPECIAL)"=="" .IF "$(BUILD_SPECIAL)"==""
...@@ -120,10 +119,16 @@ CFLAGSOPT=-O1 ...@@ -120,10 +119,16 @@ CFLAGSOPT=-O1
CFLAGSNOOPT=-O0 CFLAGSNOOPT=-O0
# Compiler flags for describing the output path # Compiler flags for describing the output path
CFLAGSOUTOBJ=-o CFLAGSOUTOBJ=-o
# Enable all warnings
CFLAGSWALL=-Wall -Wfloat-equal -Weffc++ -Wold-style-cast -Woverloaded-virtual -Wshadow -Wpointer-arith -Wcast-align -Wsign-compare -Winline CFLAGSWARNCC=
# Set default warn level .IF "$(PRODUCT)"!=""
CFLAGSDFLTWARN= CFLAGSWARNCC+=-Wuninitialized # not supported without optimization
.ENDIF
CFLAGSWARNCXX=$(CFLAGSWARNCC) -Wno-ctor-dtor-privacy
# -Wshadow does not work for C with nested uses of pthread_cleanup_push:
CFLAGSWALLCC=-Wall -Wextra -Wendif-labels
CFLAGSWALLCXX=$(CFLAGSWALLCC) -Wshadow -Wno-ctor-dtor-privacy
CFLAGSWERRCC=-Werror
# switches for dynamic and static linking # switches for dynamic and static linking
STATIC = -Wl,-Bstatic STATIC = -Wl,-Bstatic
......
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