From 403ef0f3eb85708789afeec1048ad1b6a7b667f6 Mon Sep 17 00:00:00 2001 From: ian Date: Wed, 18 Oct 2006 16:01:45 +0000 Subject: [PATCH] warning disable ordering --- base/common.make | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/base/common.make b/base/common.make index 2761b4b..3415a56 100644 --- a/base/common.make +++ b/base/common.make @@ -29,6 +29,9 @@ TCMDIFGEN ?= $(BASE_DIR)/tcmdifgen BASE_TCT ?= $(BASE_DIR)/base.tct BASE_SHLIB ?= lib$(FAMILY)-$(VERSION) +CFLAGS += -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Werror \ + $(OPTIMISE) + ifeq ($(shell $(CC) -Wno-pointer-sign -E -x c /dev/null >/dev/null || echo x),) CFLAGS += -Wno-pointer-sign endif @@ -37,8 +40,6 @@ ifeq ($(shell $(CC) -Wno-strict-aliasing -E -x c /dev/null >/dev/null || echo x) CFLAGS += -Wno-strict-aliasing endif -CFLAGS += -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Werror \ - $(OPTIMISE) CPPFLAGS += -I$(TCL_INCLUDEDIR) -I$(BASE_DIR) CPPFLAGS += $(TCL_MEM_DEBUG) -- 2.30.2