mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 00:04:02 -04:00
SITL: suppress cast-align warnings in SIM_XPlane
This commit is contained in:
parent
e9a4a74e7b
commit
7e14f62fcd
@ -28,6 +28,9 @@
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
#include <AP_Logger/AP_Logger.h>
|
||||
|
||||
// ignore cast errors in this case to keep complexity down
|
||||
#pragma GCC diagnostic ignored "-Wcast-align"
|
||||
|
||||
extern const AP_HAL::HAL& hal;
|
||||
|
||||
namespace SITL {
|
||||
|
Loading…
Reference in New Issue
Block a user