From b0233ae6fbf066a26667be713839887f73dc6ece Mon Sep 17 00:00:00 2001 From: Piotr Esden-Tempski Date: Tue, 26 Feb 2013 16:42:20 -0800 Subject: Added more warning CFLAGS to all makefiles. --- examples/lpc13xx/Makefile.include | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'examples/lpc13xx') diff --git a/examples/lpc13xx/Makefile.include b/examples/lpc13xx/Makefile.include index 0b22063..049382f 100644 --- a/examples/lpc13xx/Makefile.include +++ b/examples/lpc13xx/Makefile.include @@ -36,7 +36,11 @@ $(info We seem to be building the example in the source directory. Using local l endif endif -CFLAGS += -Os -g -Wall -Wextra -I$(TOOLCHAIN_DIR)/include -fno-common \ +CFLAGS += -Os -g \ + -Wall -Wextra -Wimplicit-function-declaration \ + -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \ + -Wundef -Wshadow \ + -I$(TOOLCHAIN_DIR)/include -fno-common \ -mcpu=cortex-m3 -mthumb -MD -DLPC13XX LDSCRIPT ?= $(BINARY).ld LDFLAGS += -L$(TOOLCHAIN_DIR)/lib \ -- cgit v1.2.3