mirror of
https://github.com/cryb-to/cryb-to.git
synced 2024-11-21 21:25:50 +00:00
d4ae7a43cb
Travis forces _FORTIFY_SOURCE, which enables warn_unused_result annotations in glibc. Some of those annotations are of dubious value; in the case of asprintf(3) and vasprintf(3), they flag code that doesn't check the return value as unsafe even if it checks the pointer instead (which is guaranteed to be NULL in case of failure, and arguably more useful than the return value). Unfortunately, gcc intentionally ignores (void) casts, so we have no choice but to quench the warning with -Wno-unused-result. However, some of the compilers we wish to support don't recognize it, so we move it from the developer flags to the Travis environment. While there, switch Travis from Precious to Trusty. |
||
---|---|---|
.. | ||
cryb-test.pc.in | ||
cryb_t_compare.c | ||
cryb_t_const.c | ||
cryb_t_file.c | ||
cryb_t_main.c | ||
cryb_t_malloc.c | ||
cryb_test.c | ||
Makefile.am |