mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 17:03:33 +08:00
modules/lib: ignore address-of-packed-member
For now we need to ignore this warning which GCC 9 shows for the MAVLink headers.
This commit is contained in:
@@ -104,7 +104,9 @@ add_custom_command(
|
||||
# Create Flight Tasks Library
|
||||
###########################################
|
||||
|
||||
add_compile_options(-Wno-cast-align) # TODO: fix and enable
|
||||
add_compile_options(
|
||||
-Wno-cast-align
|
||||
) # TODO: fix and enable
|
||||
|
||||
px4_add_library(FlightTasks
|
||||
FlightTasks.cpp
|
||||
|
||||
Reference in New Issue
Block a user