SITL: suppress cast-align warnings in SIM_XPlane

This commit is contained in:
Andrew Tridgell 2020-07-07 18:56:40 +10:00
parent e9a4a74e7b
commit 7e14f62fcd

View File

@ -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 {