]> git.eshelyaron.com Git - emacs.git/commit
Enable GCC warnings in developer builds
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 5 Apr 2016 14:51:28 +0000 (07:51 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 5 Apr 2016 15:09:43 +0000 (08:09 -0700)
commit5baecbc0ebc11178edd73431b644a5de0a31be25
tree1b11fc90b0935fa57768d314b4fab457f0c3694a
parent93d54ba104bf85d487eb8e90a4857789e0c9a210
Enable GCC warnings in developer builds

However, do not fail; just issue the warnings.  Add an option
--enable-gcc-warnings=warn-only to configure, to implement this.
* INSTALL, etc/NEWS: Document this.
* configure.ac (gl_GCC_VERSION_IFELSE): New macro, from coreutils.
(gl_gcc_warnings, WERROR_CFLAGS): Use it to add new option.
Don’t treat --with-x-toolkit=no as a special case when configuring
warnings.
INSTALL
configure.ac
etc/NEWS