summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorKai Vehmanen <first.surname@nokia.com>2007-05-02 14:23:00 +0000
committerKai Vehmanen <first.surname@nokia.com>2007-05-02 14:23:00 +0000
commitcde5ed64438486e56af40562e8740be1b479a137 (patch)
tree570402be779ab9fffe097f9c6dd504999e628a87 /common.mk
parent35811637f66080e813b7d3a7087764887c8fbffc (diff)
downloadlibnice-cde5ed64438486e56af40562e8740be1b479a137.tar.gz
Enabled more compiler warnings
darcs-hash:20070502142335-77cd4-d6daeb49f463440ca7bfec752382a982913d41ae.gz
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index 060d4d6..c6234f1 100644
--- a/common.mk
+++ b/common.mk
@@ -3,14 +3,23 @@ ERROR_CFLAGS = \
-Wall \
-Werror \
-Wextra \
+ -Wundef \
+ -Wnested-externs \
+ -Wvolatile-register-var \
-Wno-missing-field-initializers \
-Wwrite-strings \
+ -Wpointer-arith \
+ -Wbad-function-cast \
+ -Wmissing-declarations \
-Wmissing-prototypes \
+ -Wstrict-prototypes \
-Wredundant-decls \
-Wno-unused-parameter
+# -Wold-style-definition -Winline -Wunreachable-code
CLEANFILES = *.gcno *.gcda
check-valgrind:
$(MAKE) TESTS_ENVIRONMENT="sh $(abspath $(top_srcdir))/scripts/valgrind.sh" check
+.PHONY: check-valgrind