mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 02:43:33 +08:00
ignore -Wsign-compare per module
This commit is contained in:
@@ -35,6 +35,7 @@ px4_add_module(
|
||||
MAIN motor_ramp
|
||||
STACK_MAIN 1200
|
||||
COMPILE_FLAGS
|
||||
-Wno-sign-compare # TODO: fix all sign-compare
|
||||
-Wno-write-strings
|
||||
SRCS
|
||||
motor_ramp.cpp
|
||||
|
||||
@@ -35,6 +35,7 @@ px4_add_module(
|
||||
MAIN sd_bench
|
||||
STACK_MAIN 2500
|
||||
COMPILE_FLAGS
|
||||
-Wno-sign-compare # TODO: fix all sign-compare
|
||||
SRCS
|
||||
sd_bench.c
|
||||
DEPENDS
|
||||
|
||||
@@ -79,7 +79,7 @@ px4_add_module(
|
||||
STACK_MAIN 10000
|
||||
STACK_MAX 10000
|
||||
COMPILE_FLAGS
|
||||
${MODULE_CFLAGS}
|
||||
-Wno-sign-compare # TODO: fix all sign-compare
|
||||
-Wno-unused-result
|
||||
-Wno-float-equal
|
||||
-Wno-missing-declarations
|
||||
|
||||
Reference in New Issue
Block a user