mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 04:53:34 +08:00
mavlink: MavlinkStatustextHandlerTest ignore Wcast-align
This commit is contained in:
@@ -117,10 +117,13 @@ if(PX4_TESTING)
|
||||
endif()
|
||||
|
||||
px4_add_unit_gtest(SRC MavlinkStatustextHandlerTest.cpp
|
||||
INCLUDES ${MAVLINK_LIBRARY_DIR}/${MAVLINK_DIALECT}
|
||||
INCLUDES
|
||||
${MAVLINK_LIBRARY_DIR}/${MAVLINK_DIALECT}
|
||||
COMPILE_FLAGS
|
||||
-Wno-address-of-packed-member # TODO: fix in c_library_v2
|
||||
LINKLIBS modules__mavlink
|
||||
-Wno-cast-align # TODO: fix
|
||||
LINKLIBS
|
||||
modules__mavlink
|
||||
)
|
||||
|
||||
if(CONFIG_NET AND "${PX4_PLATFORM}" MATCHES "nuttx")
|
||||
|
||||
Reference in New Issue
Block a user