aboutsummaryrefslogtreecommitdiffstats
path: root/BuildTests
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-09-09 14:00:03 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-09-09 14:00:03 +0000
commit7a51e97c3b8d8b1af193cb54c77d12ecba03f898 (patch)
tree95fbdf9ca11bba627d09b9429b5e00ab7dd8a1fb /BuildTests
parent0284385b4e1c9a629e5c5b89ecc701a3d9bd5001 (diff)
downloadlufa-7a51e97c3b8d8b1af193cb54c77d12ecba03f898.tar.gz
lufa-7a51e97c3b8d8b1af193cb54c77d12ecba03f898.tar.bz2
lufa-7a51e97c3b8d8b1af193cb54c77d12ecba03f898.zip
Update LUFA core to be compatible with the AVR-GCC -Wswitch-default warning switch.
Diffstat (limited to 'BuildTests')
-rw-r--r--BuildTests/ModuleTest/makefile.test2
1 files changed, 1 insertions, 1 deletions
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