mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 22:48:29 -04:00
51991fdd76
../../libraries/AP_Proximity/AP_Proximity_LightWareSF40C.cpp: In member function ‘void AP_Proximity_LightWareSF40C::request_new_data()’: ../../libraries/AP_Proximity/AP_Proximity_LightWareSF40C.cpp:235:6: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] void AP_Proximity_LightWareSF40C::request_new_data() ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862:0, from ../../libraries/AP_Common/AP_Common.h:179, from ../../libraries/AP_HAL/UARTDriver.h:5, from ../../libraries/AP_HAL/HAL.h:11, from ../../libraries/AP_HAL/AP_HAL_Main.h:19, from ../../libraries/AP_HAL/AP_HAL.h:8, from ../../libraries/AP_Proximity/AP_Proximity_LightWareSF40C.cpp:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:65:44: note: ‘__builtin___snprintf_chk’ output between 10 and 16 bytes into a destination of size 15 __bos (__s), __fmt, __va_arg_pack ()); ^ ../../libraries/AP_Proximity/AP_Proximity_LightWareSF40C.cpp: In member function ‘bool AP_Proximity_LightWareSF40C::send_request_for_distance()’: ../../libraries/AP_Proximity/AP_Proximity_LightWareSF40C.cpp:275:6: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] bool AP_Proximity_LightWareSF40C::send_request_for_distance() ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862:0, from ../../libraries/AP_Common/AP_Common.h:179, from ../../libraries/AP_HAL/UARTDriver.h:5, from ../../libraries/AP_HAL/HAL.h:11, from ../../libraries/AP_HAL/AP_HAL_Main.h:19, from ../../libraries/AP_HAL/AP_HAL.h:8, from ../../libraries/AP_Proximity/AP_Proximity_LightWareSF40C.cpp:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:65:44: note: |
||
---|---|---|
.. | ||
AP_Proximity_Backend.cpp | ||
AP_Proximity_Backend.h | ||
AP_Proximity_LightWareSF40C.cpp | ||
AP_Proximity_LightWareSF40C.h | ||
AP_Proximity_MAV.cpp | ||
AP_Proximity_MAV.h | ||
AP_Proximity_RangeFinder.cpp | ||
AP_Proximity_RangeFinder.h | ||
AP_Proximity_RPLidarA2.cpp | ||
AP_Proximity_RPLidarA2.h | ||
AP_Proximity_SITL.cpp | ||
AP_Proximity_SITL.h | ||
AP_Proximity_TeraRangerTower.cpp | ||
AP_Proximity_TeraRangerTower.h | ||
AP_Proximity.cpp | ||
AP_Proximity.h |