mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-08 00:43:58 -04:00
In some cases we want to call functions annotated with warn_unused_result but we know it's safe to ignore the return value. Prefixing with (void) used to work, but it doesn't do anymore on all versions of gcc and clang. See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425 This solution is a mix of the solutions provided in the above bug report and the one provided by Gustavo Sousa at https://github.com/ArduPilot/ardupilot/pull/4277#issuecomment-224957375 |
||
---|---|---|
.. | ||
examples/AP_Common | ||
missing | ||
AP_Common.cpp | ||
AP_Common.h | ||
AP_Test.h | ||
c++.cpp | ||
keywords.txt | ||
Location.cpp | ||
Location.h |