mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-04 15:08:28 -04:00
421b9ef54a
We actually don't want a flexible array in this union, but rather a way to access it byte by byte. This fixes the build for gcc >= 6 In file included from ../../libraries/AP_GPS/AP_GPS_UBLOX.cpp:23:0: ../../libraries/AP_GPS/AP_GPS_UBLOX.h:387:23: error: flexible array member in union uint8_t bytes[]; ^ compilation terminated due to -Wfatal-errors. In file included from ../../libraries/AP_Mount/AP_Mount.cpp:9:0: ../../libraries/AP_Mount/AP_Mount_Alexmos.h:291:23: error: flexible array member in union uint8_t bytes[]; ^ compilation terminated due to -Wfatal-errors. |
||
---|---|---|
.. | ||
examples/trivial_AP_Mount | ||
AP_Mount_Alexmos.cpp | ||
AP_Mount_Alexmos.h | ||
AP_Mount_Backend.cpp | ||
AP_Mount_Backend.h | ||
AP_Mount_Servo.cpp | ||
AP_Mount_Servo.h | ||
AP_Mount_SoloGimbal.cpp | ||
AP_Mount_SoloGimbal.h | ||
AP_Mount_SToRM32_serial.cpp | ||
AP_Mount_SToRM32_serial.h | ||
AP_Mount_SToRM32.cpp | ||
AP_Mount_SToRM32.h | ||
AP_Mount.cpp | ||
AP_Mount.h | ||
SoloGimbal_Parameters.cpp | ||
SoloGimbal_Parameters.h | ||
SoloGimbal.cpp | ||
SoloGimbal.h | ||
SoloGimbalEKF.cpp | ||
SoloGimbalEKF.h |