mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
GCS_MAVLink: pragma away address-of-packed-member
g++-9 throws a lot of warnings for taking addresses of packed members. We can have this warning for our ArduPilot code, but there's way too many issues within MAVLink to put up with.
This commit is contained in:
parent
900d9f71f6
commit
9273ac3631
@ -29,6 +29,7 @@
|
||||
*/
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wcast-align"
|
||||
#pragma GCC diagnostic ignored "-Waddress-of-packed-member"
|
||||
|
||||
#include "include/mavlink/v2.0/ardupilotmega/version.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user