ardupilot/libraries/AP_GPS
Lucas De Marchi 39bd196481 AP_GPS: do not use flexible array in union
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.cpp:24:0:
../../libraries/AP_GPS/AP_GPS_ERB.h:93:23: error: flexible array member in union
         uint8_t bytes[];
                       ^
compilation terminated due to -Wfatal-errors.

In file included from ../../libraries/AP_GPS/AP_GPS_ERB.cpp:22:0:
../../libraries/AP_GPS/AP_GPS_ERB.h:93:23: error: flexible array member in union
         uint8_t bytes[];
                       ^
compilation terminated due to -Wfatal-errors.

In file included from ../../libraries/AP_GPS/AP_GPS_MTK.cpp:25:0:
../../libraries/AP_GPS/AP_GPS_MTK.h:75:23: error: flexible array member in union
         uint8_t bytes[];
                       ^
compilation terminated due to -Wfatal-errors.

In file included from ../../libraries/AP_GPS/AP_GPS_MTK19.cpp:26:0:
../../libraries/AP_GPS/AP_GPS_MTK.h:75:23: error: flexible array member in union
         uint8_t bytes[];
                       ^
compilation terminated due to -Wfatal-errors.

In file included from ../../libraries/AP_GPS/AP_GPS_SIRF.cpp:22:0:
../../libraries/AP_GPS/AP_GPS_SIRF.h:101:23: error: flexible array member in union
         uint8_t bytes[];
                       ^
compilation terminated due to -Wfatal-errors.

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.
2016-05-16 13:50:39 -03:00
..
config AP_GPS: config file for Ublox M8N 2015-08-27 09:54:22 +09:00
examples waf: ardupilotwaf: prefix build context methods with ap_ 2016-01-22 20:10:29 -02:00
AP_GPS.cpp AP_Math: Replace the pythagorous* functions with a variadic template 2016-05-10 11:41:26 -03:00
AP_GPS.h AP_GPS: Fix typos 2016-05-13 19:20:06 -03:00
AP_GPS_ERB.cpp AP_GPS: change ground course to be in degrees 2016-05-07 18:27:21 +10:00
AP_GPS_ERB.h AP_GPS: do not use flexible array in union 2016-05-16 13:50:39 -03:00
AP_GPS_GSOF.cpp AP_GPS: change ground course to be in degrees 2016-05-07 18:27:21 +10:00
AP_GPS_GSOF.h AP_GPS_GSOF: remove unused last_hdop 2016-04-23 23:06:22 -07:00
AP_GPS_MTK.cpp AP_GPS: change ground course to be in degrees 2016-05-07 18:27:21 +10:00
AP_GPS_MTK.h AP_GPS: do not use flexible array in union 2016-05-16 13:50:39 -03:00
AP_GPS_MTK19.cpp AP_GPS: change ground course to be in degrees 2016-05-07 18:27:21 +10:00
AP_GPS_MTK19.h AP_GPS: do not use flexible array in union 2016-05-16 13:50:39 -03:00
AP_GPS_MTK_Common.h AP_GPS: replace header guard with pragma once 2016-03-16 18:40:40 +11:00
AP_GPS_NMEA.cpp AP_GPS: change ground course to be in degrees 2016-05-07 18:27:21 +10:00
AP_GPS_NMEA.h AP_GPS: support a wider variety of NMEA receivers 2016-04-18 15:30:17 +10:00
AP_GPS_PX4.cpp AP_GPS: Fix typos 2016-05-13 19:20:06 -03:00
AP_GPS_PX4.h AP_GPS: reorganize includes 2016-04-14 21:01:51 -03:00
AP_GPS_QURT.cpp AP_GPS: change ground course to be in degrees 2016-05-07 18:27:21 +10:00
AP_GPS_QURT.h AP_GPS: reorganize includes 2016-04-14 21:01:51 -03:00
AP_GPS_SBF.cpp AP_GPS: Fix typos 2016-05-13 19:20:06 -03:00
AP_GPS_SBF.h AP_GPS: reorganize includes 2016-04-14 21:01:51 -03:00
AP_GPS_SBP.cpp AP_GPS: Fix typos 2016-05-13 19:20:06 -03:00
AP_GPS_SBP.h AP_GPS: reorganize includes 2016-04-14 21:01:51 -03:00
AP_GPS_SIRF.cpp AP_GPS: change ground course to be in degrees 2016-05-07 18:27:21 +10:00
AP_GPS_SIRF.h AP_GPS: do not use flexible array in union 2016-05-16 13:50:39 -03:00
AP_GPS_UBLOX.cpp AP_GPS: Fix typos 2016-05-13 19:20:06 -03:00
AP_GPS_UBLOX.h AP_GPS: do not use flexible array in union 2016-05-16 13:50:39 -03:00
GPS_Backend.cpp AP_GPS: change ground course to be in degrees 2016-05-07 18:27:21 +10:00
GPS_Backend.h AP_GPS: add fetching of gps configuration failure reasons 2016-04-13 11:24:01 -03:00
GPS_detect_state.h AP_GPS: reorganize includes 2016-04-14 21:01:51 -03:00