commit | 82ef7805faffa151e724aa76c245ec590d174580 | [log] [tgz] |
---|---|---|
author | Noah Misch <noah@cs.caltech.edu> | Thu May 14 01:11:47 2015 |
committer | Noah Misch <noah@cs.caltech.edu> | Thu May 14 01:11:47 2015 |
tree | 9b1b38555e5517f3d29a75a5e97eec43fbbc0c5b | |
parent | d2f0ec870814233f21d9f3404ef60b8c65b47cad [diff] |
AC_CHECK_DECL, AC_CHECK_DECLS: port to the Clang compiler * lib/autoconf/general.m4 (_AC_UNDECLARED_WARNING): New macro. (_AC_CHECK_DECL_BODY): Call it once per language; treat warnings as errors when its verdict indicates that. * tests/semantics.at (AC_CHECK_DECLS): Add a macro call that relies on the new semantics. Avoid -Wmissing-variable-declarations warnings. * doc/autoconf.texi (Generic Declarations): Document the implications. * NEWS: Mention this change.