mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
GCS_MAVLink: prgama away address-of-packed-member only for g++ >= 9
This commit is contained in:
parent
48aacb9462
commit
971e3af826
@ -29,7 +29,10 @@
|
||||
*/
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wcast-align"
|
||||
|
||||
#if defined(__GNUC__) && __GNUC__ >= 9
|
||||
#pragma GCC diagnostic ignored "-Waddress-of-packed-member"
|
||||
#endif
|
||||
|
||||
#include "include/mavlink/v2.0/ardupilotmega/version.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user