diff options
author | Russ Allbery <eagle@eyrie.org> | 2020-05-17 17:05:30 -0700 |
---|---|---|
committer | Russ Allbery <eagle@eyrie.org> | 2020-05-17 17:05:30 -0700 |
commit | c138111a3c27863308b6552a5527a9e821a3dc11 (patch) | |
tree | fe3c16462bf0213708f20d251a63e5b9bbf2d23f /m4/cc-flags.m4 | |
parent | ccfbd34d597318215b979338c4cb5d7e4a3f0d6f (diff) |
Update to rra-c-util 8.2 and C TAP Harness 4.7
Update to rra-c-util 8.2:
* Implement explicit_bzero with memset if it is not available.
* Reformat all C source using clang-format 10.
* Work around Test::Strict not skipping .git directories.
* Fix warnings with perltidy 20190601 and Perl::Critic 1.134.
* Fix warnings with Clang 10, GCC 10, and the Clang static analyzer.
Update to C TAP Harness 4.7:
* Fix warnings with GCC 10.
* Reformat all C source using clang-format 10.
* Fixed malloc error checking in bstrndup.
Diffstat (limited to 'm4/cc-flags.m4')
-rw-r--r-- | m4/cc-flags.m4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/cc-flags.m4 b/m4/cc-flags.m4 index 8a5aa8a..9a749f7 100644 --- a/m4/cc-flags.m4 +++ b/m4/cc-flags.m4 @@ -14,7 +14,7 @@ dnl dnl The canonical version of this file is maintained in the rra-c-util dnl package, available at <https://www.eyrie.org/~eagle/software/rra-c-util/>. dnl -dnl Copyright 2016-2018 Russ Allbery <eagle@eyrie.org> +dnl Copyright 2016-2020 Russ Allbery <eagle@eyrie.org> dnl Copyright 2006, 2009, 2016 dnl by Internet Systems Consortium, Inc. ("ISC") dnl @@ -36,7 +36,7 @@ dnl Used to build the result cache name. AC_DEFUN([_RRA_PROG_CC_FLAG_CACHE], [translit([rra_cv_compiler_c_$1], [-=+], [___])]) -dnl Check whether a given flag is supported by the complier. +dnl Check whether a given flag is supported by the compiler. AC_DEFUN([RRA_PROG_CC_FLAG], [AC_REQUIRE([AC_PROG_CC]) AC_MSG_CHECKING([if $CC supports $1]) @@ -61,7 +61,7 @@ dnl dnl -Wsign-conversion Too many fiddly changes for the benefit dnl -Wstack-protector Too many false positives from small buffers dnl -dnl Last checked against gcc 7.2.0 (2017-12-28). -D_FORTIFY_SOURCE=2 enables +dnl Last checked against gcc 9.2.1 (2019-09-01). -D_FORTIFY_SOURCE=2 enables dnl warn_unused_result attribute markings on glibc functions on Linux, which dnl catches a few more issues. Add -O2 because gcc won't find some warnings dnl without optimization turned on. |