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_HAL/AP_HAL.h>
|
||||||
#include <AP_Logger/AP_Logger.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;
|
extern const AP_HAL::HAL& hal;
|
||||||
|
|
||||||
namespace SITL {
|
namespace SITL {
|
||||||
|
Loading…
Reference in New Issue
Block a user