From 7a51e97c3b8d8b1af193cb54c77d12ecba03f898 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 9 Sep 2012 14:00:03 +0000 Subject: Update LUFA core to be compatible with the AVR-GCC -Wswitch-default warning switch. --- BuildTests/ModuleTest/makefile.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'BuildTests') diff --git a/BuildTests/ModuleTest/makefile.test b/BuildTests/ModuleTest/makefile.test index c87aedaff..1ea9173ed 100644 --- a/BuildTests/ModuleTest/makefile.test +++ b/BuildTests/ModuleTest/makefile.test @@ -45,6 +45,7 @@ CC_FLAGS += -Wmissing-declarations CC_FLAGS += -Wmissing-field-initializers CC_FLAGS += -Wmissing-format-attribute CC_FLAGS += -Woverlength-strings +CC_FLAGS += -Wswitch-default # Only enable rendundant declaration warnings for AVR8 target (FIXME) ifeq ($(ARCH), AVR8) @@ -56,7 +57,6 @@ C_FLAGS += -Wmissing-parameter-type C_FLAGS += -Wnested-externs # Potential additional warnings to enable in the future (FIXME) -#CC_FLAGS += -Wswitch-default #CC_FLAGS += -Wc++-compat #CC_FLAGS += -Wcast-qual #CC_FLAGS += -Wconversion -- cgit v1.2.3