Replace use of -Wno-error and only ignore specific warnings

This commit is contained in:
Daniel Agar 2014-12-23 11:15:45 -05:00
parent d14fdf896b
commit 5b600a815c
10 changed files with 19 additions and 11 deletions

View File

@ -42,4 +42,4 @@ SRCS = main.c \
MODULE_STACKSIZE = 1200
EXTRACFLAGS = -Wno-frame-larger-than
EXTRACFLAGS = -Wframe-larger-than=1200

View File

@ -43,6 +43,6 @@ SRCS = attitude_estimator_ekf_main.cpp \
MODULE_STACKSIZE = 1200
EXTRACFLAGS = -Wno-float-equal
EXTRACFLAGS = -Wno-float-equal -Wframe-larger-than=3600
EXTRACXXFLAGS = -Wno-frame-larger-than
EXTRACXXFLAGS = -Wframe-larger-than=2200

View File

@ -52,4 +52,5 @@ MODULE_STACKSIZE = 1200
MAXOPTIMIZATION = -Os
EXTRACXXFLAGS = -Wno-error
EXTRACXXFLAGS = -Wframe-larger-than=1900

View File

@ -42,4 +42,5 @@ SRCS = ekf_att_pos_estimator_main.cpp \
estimator_23states.cpp \
estimator_utilities.cpp
EXTRACXXFLAGS = -Weffc++ -Wno-error
EXTRACXXFLAGS = -Weffc++ -Wframe-larger-than=3000

View File

@ -42,4 +42,5 @@ SRCS = position_estimator_inav_main.c \
MODULE_STACKSIZE = 1200
EXTRACFLAGS = -Wno-error
EXTRACFLAGS = -Wframe-larger-than=3500

View File

@ -46,4 +46,5 @@ MODULE_STACKSIZE = 1200
MAXOPTIMIZATION = -Os
EXTRACFLAGS = -Wno-error
EXTRACFLAGS = -Wframe-larger-than=1200

View File

@ -40,4 +40,5 @@ MODULE_COMMAND = vtol_att_control
SRCS = vtol_att_control_main.cpp \
vtol_att_control_params.c
EXTRACXXFLAGS = -Wno-error
EXTRACXXFLAGS = -Wno-write-strings

View File

@ -42,4 +42,5 @@ MODULE_STACKSIZE = 4096
MAXOPTIMIZATION = -Os
EXTRACXXFLAGS = -Wno-error
EXTRACXXFLAGS = -Wframe-larger-than=2048

View File

@ -7,4 +7,5 @@ SRCS = mtd.c 24xxxx_mtd.c
MAXOPTIMIZATION = -Os
EXTRACFLAGS = -Wno-error
EXTRACFLAGS = -Wno-error

View File

@ -35,4 +35,5 @@ SRCS = test_adc.c \
test_mount.c \
test_mtd.c
EXTRACXXFLAGS = -Wno-error
EXTRACXXFLAGS = -Wframe-larger-than=2500