ardupilot/libraries/AP_Common
Lucas De Marchi 8a58c06adb AP_Common: add macro to ignore unused result
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
2016-06-23 18:34:01 -03:00
..
examples/AP_Common waf: ardupilotwaf: prefix build context methods with ap_ 2016-01-22 20:10:29 -02:00
missing AP_Common: change check from GCC version to glibc version (and Cygwin) 2016-06-23 18:19:54 +10:00
AP_Common.cpp AP_Common: rename is_bounded() to is_bounded_int32() and make inclusive 2015-11-11 13:45:05 +11:00
AP_Common.h AP_Common: add macro to ignore unused result 2016-06-23 18:34:01 -03:00
AP_Test.h libraries: update license header to GPLv3 2013-08-30 13:01:39 +10:00
c++.cpp AP_Common: remove support for flymaple 2016-05-23 21:49:45 -03:00
keywords.txt Add support for 'new' and 'delete', so we can cons things on the fly. 2010-10-17 04:02:06 +00:00
Location.cpp AP_Common: fix compile when using AP_TERRAIN_AVAILABLE 0 2016-05-20 12:28:46 -07:00
Location.h Location: add additional comments 2016-04-30 10:33:01 +09:00