mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
f35f0d59dd
Build gave the following warnings: ../../libraries/AP_GPS/AP_GPS_SBP2.cpp: In member function ‘void AP_GPS_SBP2::_sbp_process_message()’: ../../libraries/AP_GPS/AP_GPS_SBP2.cpp:181:78: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] last_heartbeat = *((struct sbp_heartbeat_t*)parser_state.msg_buff); ^ ../../libraries/AP_GPS/AP_GPS_SBP2.cpp:181:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] last_heartbeat = *((struct sbp_heartbeat_t*)parser_state.msg_buff); ^ ../../libraries/AP_GPS/AP_GPS_SBP2.cpp:186:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] last_gps_time = *((struct sbp_gps_time_t*)parser_state.msg_buff); ^ ../../libraries/AP_GPS/AP_GPS_SBP2.cpp:186:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] last_gps_time = *((struct sbp_gps_time_t*)parser_state.msg_buff); ^ ../../libraries/AP_GPS/AP_GPS_SBP2.cpp:190:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] last_vel_ned = *((struct sbp_vel_ned_t*)parser_state.msg_buff); ^ ../../libraries/AP_GPS/AP_GPS_SBP2.cpp:190:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] last_vel_ned = *((struct sbp_vel_ned_t*)parser_state.msg_buff); ^ ../../libraries/AP_GPS/AP_GPS_SBP2.cpp:194:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] last_pos_llh = *((struct sbp_pos_llh_t*)parser_state.msg_buff); ^ ../../libraries/AP_GPS/AP_GPS_SBP2.cpp:194:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] last_pos_llh = *((struct sbp_pos_llh_t*)parser_state.msg_buff); ^ ../../libraries/AP_GPS/AP_GPS_SBP2.cpp:198:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] last_dops = *((struct sbp_dops_t*)parser_state.msg_buff); ^ ../../libraries/AP_GPS/AP_GPS_SBP2.cpp:198:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] last_dops = *((struct sbp_dops_t*)parser_state.msg_buff); ^ ../../libraries/AP_GPS/AP_GPS_SBP2.cpp:202:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] last_event = *((struct sbp_ext_event_t*)parser_state.msg_buff); ^ ../../libraries/AP_GPS/AP_GPS_SBP2.cpp:202:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] last_event = *((struct sbp_ext_event_t*)parser_state.msg_buff); ^ |
||
---|---|---|
.. | ||
examples | ||
tests | ||
AP_GPS_ERB.cpp | ||
AP_GPS_ERB.h | ||
AP_GPS_GSOF.cpp | ||
AP_GPS_GSOF.h | ||
AP_GPS_MAV.cpp | ||
AP_GPS_MAV.h | ||
AP_GPS_MTK19.cpp | ||
AP_GPS_MTK19.h | ||
AP_GPS_MTK_Common.h | ||
AP_GPS_MTK.cpp | ||
AP_GPS_MTK.h | ||
AP_GPS_NMEA.cpp | ||
AP_GPS_NMEA.h | ||
AP_GPS_NOVA.cpp | ||
AP_GPS_NOVA.h | ||
AP_GPS_QURT.cpp | ||
AP_GPS_QURT.h | ||
AP_GPS_SBF.cpp | ||
AP_GPS_SBF.h | ||
AP_GPS_SBP2.cpp | ||
AP_GPS_SBP2.h | ||
AP_GPS_SBP.cpp | ||
AP_GPS_SBP.h | ||
AP_GPS_SIRF.cpp | ||
AP_GPS_SIRF.h | ||
AP_GPS_UAVCAN.cpp | ||
AP_GPS_UAVCAN.h | ||
AP_GPS_UBLOX.cpp | ||
AP_GPS_UBLOX.h | ||
AP_GPS.cpp | ||
AP_GPS.h | ||
GPS_Backend.cpp | ||
GPS_Backend.h | ||
GPS_detect_state.h |