]> git.eshelyaron.com Git - emacs.git/commit
Pacify clang without munging C source
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 15 Jun 2017 20:29:04 +0000 (13:29 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 15 Jun 2017 20:30:30 +0000 (13:30 -0700)
commit21d10e59f89a5bb72829ffb8ebe4463ba4fac124
tree5e6d98853562542a09f4bf6cd09d0ec7221ef621
parent2b9620e6af80a1ce57321bc32d126b602ca493ce
Pacify clang without munging C source

* configure.ac (WARN_CFLAGS): With Clang, use
-Wno-tautological-compare regardless of --enable-gcc-warnings.
(WERROR_CFLAGS): Simplify assignments, and guarantee it’s always set.
* lib/strftime.c: Copy from gnulib, reverting Clang-specific
change which I hope is no longer needed.
* src/emacs.c (main): Revert rlim_t change, as rlim_t is signed on
some older non-POSIX hosts.
configure.ac
lib/strftime.c
src/emacs.c