turn on -Werror and fix resulting errors

This commit is contained in:
Daniel Agar
2014-12-22 17:56:59 -05:00
parent d54b46355c
commit d511e39ea7
48 changed files with 95 additions and 35 deletions
+2
View File
@@ -41,3 +41,5 @@ SRCS = mixer.cpp
MODULE_STACKSIZE = 4096
MAXOPTIMIZATION = -Os
EXTRACXXFLAGS = -Wno-error
+2
View File
@@ -6,3 +6,5 @@ MODULE_COMMAND = mtd
SRCS = mtd.c 24xxxx_mtd.c
MAXOPTIMIZATION = -Os
EXTRACFLAGS = -Wno-error
+1 -1
View File
@@ -212,7 +212,7 @@ static void
do_show(const char* search_string)
{
printf(" + = saved, * = unsaved\n");
param_foreach(do_show_print, search_string, false);
param_foreach(do_show_print, (char *)search_string, false);
exit(0);
}
+2
View File
@@ -34,3 +34,5 @@ SRCS = test_adc.c \
test_conv.cpp \
test_mount.c \
test_mtd.c
EXTRACXXFLAGS = -Wno-error