Merge pull request #1527 from dagar/Werror

turn on -Werror and fix resulting errors
This commit is contained in:
Lorenz Meier
2014-12-25 17:44:44 +01:00
48 changed files with 102 additions and 35 deletions
+3
View File
@@ -41,3 +41,6 @@ SRCS = mixer.cpp
MODULE_STACKSIZE = 4096
MAXOPTIMIZATION = -Os
EXTRACXXFLAGS = -Wframe-larger-than=2048
+3
View File
@@ -6,3 +6,6 @@ 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);
}
+3
View File
@@ -34,3 +34,6 @@ SRCS = test_adc.c \
test_conv.cpp \
test_mount.c \
test_mtd.c
EXTRACXXFLAGS = -Wframe-larger-than=2500