mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 00:43:35 +08:00
Replace use of -Wno-error and only ignore specific warnings
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user