projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update LUFA core to be compatible with the AVR-GCC -Wswitch-default warning switch.
[pub/USBasp.git]
/
BuildTests
/
ModuleTest
/
makefile.test
diff --git
a/BuildTests/ModuleTest/makefile.test
b/BuildTests/ModuleTest/makefile.test
index
c87aeda
..
1ea9173
100644
(file)
--- 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 += -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)
# 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)
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
#CC_FLAGS += -Wc++-compat
#CC_FLAGS += -Wcast-qual
#CC_FLAGS += -Wconversion