forked from Archive/PX4-Autopilot
Replace use of -Wno-error and only ignore specific warnings
This commit is contained in:
parent
d14fdf896b
commit
5b600a815c
|
@ -42,4 +42,4 @@ SRCS = main.c \
|
|||
|
||||
MODULE_STACKSIZE = 1200
|
||||
|
||||
EXTRACFLAGS = -Wno-frame-larger-than
|
||||
EXTRACFLAGS = -Wframe-larger-than=1200
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -52,4 +52,5 @@ MODULE_STACKSIZE = 1200
|
|||
|
||||
MAXOPTIMIZATION = -Os
|
||||
|
||||
EXTRACXXFLAGS = -Wno-error
|
||||
EXTRACXXFLAGS = -Wframe-larger-than=1900
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -42,4 +42,5 @@ SRCS = position_estimator_inav_main.c \
|
|||
|
||||
MODULE_STACKSIZE = 1200
|
||||
|
||||
EXTRACFLAGS = -Wno-error
|
||||
EXTRACFLAGS = -Wframe-larger-than=3500
|
||||
|
||||
|
|
|
@ -46,4 +46,5 @@ MODULE_STACKSIZE = 1200
|
|||
|
||||
MAXOPTIMIZATION = -Os
|
||||
|
||||
EXTRACFLAGS = -Wno-error
|
||||
EXTRACFLAGS = -Wframe-larger-than=1200
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -42,4 +42,5 @@ MODULE_STACKSIZE = 4096
|
|||
|
||||
MAXOPTIMIZATION = -Os
|
||||
|
||||
EXTRACXXFLAGS = -Wno-error
|
||||
EXTRACXXFLAGS = -Wframe-larger-than=2048
|
||||
|
||||
|
|
|
@ -7,4 +7,5 @@ SRCS = mtd.c 24xxxx_mtd.c
|
|||
|
||||
MAXOPTIMIZATION = -Os
|
||||
|
||||
EXTRACFLAGS = -Wno-error
|
||||
EXTRACFLAGS = -Wno-error
|
||||
|
||||
|
|
|
@ -35,4 +35,5 @@ SRCS = test_adc.c \
|
|||
test_mount.c \
|
||||
test_mtd.c
|
||||
|
||||
EXTRACXXFLAGS = -Wno-error
|
||||
EXTRACXXFLAGS = -Wframe-larger-than=2500
|
||||
|
||||
|
|
Loading…
Reference in New Issue