mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 14:53:33 +08:00
enable Wshadow
This commit is contained in:
committed by
Lorenz Meier
parent
e61f517bc6
commit
7aa6e85563
@@ -33,6 +33,8 @@
|
||||
px4_add_module(
|
||||
MODULE platforms__posix__drivers__accelsim
|
||||
MAIN accelsim
|
||||
COMPILE_FLAGS
|
||||
-Wno-packed
|
||||
SRCS
|
||||
accelsim.cpp
|
||||
DEPENDS
|
||||
|
||||
@@ -34,6 +34,7 @@ px4_add_module(
|
||||
MODULE platforms__posix__drivers__airspeedsim
|
||||
MAIN measairspeedsim
|
||||
COMPILE_FLAGS
|
||||
-Wno-packed
|
||||
-Os
|
||||
SRCS
|
||||
airspeedsim.cpp
|
||||
|
||||
@@ -34,6 +34,7 @@ px4_add_module(
|
||||
MODULE platforms__posix__drivers__barosim
|
||||
MAIN barosim
|
||||
COMPILE_FLAGS
|
||||
-Wno-packed
|
||||
-Os
|
||||
SRCS
|
||||
baro.cpp
|
||||
|
||||
@@ -34,6 +34,7 @@ px4_add_module(
|
||||
MODULE platforms__posix__drivers__gpssim
|
||||
MAIN gpssim
|
||||
COMPILE_FLAGS
|
||||
-Wno-packed
|
||||
-Os
|
||||
SRCS
|
||||
gpssim.cpp
|
||||
|
||||
@@ -35,6 +35,7 @@ px4_add_module(
|
||||
MAIN gyrosim
|
||||
STACK_MAIN 1200
|
||||
COMPILE_FLAGS
|
||||
-Wno-packed
|
||||
-Os
|
||||
SRCS
|
||||
gyrosim.cpp
|
||||
|
||||
Reference in New Issue
Block a user