mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 17:53:33 +08:00
double promotion warning fix or ignore per module
This commit is contained in:
committed by
Lorenz Meier
parent
11d348ec4f
commit
cf74166801
@@ -59,6 +59,7 @@ px4_add_module(
|
||||
MODULE modules__simulator
|
||||
MAIN simulator
|
||||
COMPILE_FLAGS
|
||||
-Wno-double-promotion
|
||||
INCLUDES
|
||||
${PX4_SOURCE_DIR}/mavlink/include/mavlink
|
||||
SRCS
|
||||
|
||||
@@ -34,6 +34,8 @@
|
||||
px4_add_module(
|
||||
MODULE drivers__accelsim
|
||||
MAIN accelsim
|
||||
COMPILE_FLAGS
|
||||
-Wno-double-promotion
|
||||
SRCS
|
||||
accelsim.cpp
|
||||
DEPENDS
|
||||
|
||||
@@ -35,6 +35,7 @@ px4_add_module(
|
||||
MODULE drivers__airspeedsim
|
||||
MAIN measairspeedsim
|
||||
COMPILE_FLAGS
|
||||
-Wno-double-promotion
|
||||
SRCS
|
||||
airspeedsim.cpp
|
||||
meas_airspeed_sim.cpp
|
||||
|
||||
@@ -35,6 +35,7 @@ px4_add_module(
|
||||
MODULE drivers__barosim
|
||||
MAIN barosim
|
||||
COMPILE_FLAGS
|
||||
-Wno-double-promotion
|
||||
SRCS
|
||||
baro.cpp
|
||||
DEPENDS
|
||||
|
||||
@@ -35,6 +35,7 @@ px4_add_module(
|
||||
MODULE drivers__gpssim
|
||||
MAIN gpssim
|
||||
COMPILE_FLAGS
|
||||
-Wno-double-promotion
|
||||
SRCS
|
||||
gpssim.cpp
|
||||
DEPENDS
|
||||
|
||||
@@ -34,6 +34,8 @@
|
||||
px4_add_module(
|
||||
MODULE drivers__gyrosim
|
||||
MAIN gyrosim
|
||||
COMPILE_FLAGS
|
||||
-Wno-double-promotion
|
||||
STACK_MAIN 1200
|
||||
SRCS
|
||||
gyrosim.cpp
|
||||
|
||||
Reference in New Issue
Block a user