diff options
| author | Paul Eggert | 2016-04-05 07:51:28 -0700 |
|---|---|---|
| committer | Paul Eggert | 2016-04-05 08:09:43 -0700 |
| commit | 5baecbc0ebc11178edd73431b644a5de0a31be25 (patch) | |
| tree | 1b11fc90b0935fa57768d314b4fab457f0c3694a /etc | |
| parent | 93d54ba104bf85d487eb8e90a4857789e0c9a210 (diff) | |
| download | emacs-5baecbc0ebc11178edd73431b644a5de0a31be25.tar.gz emacs-5baecbc0ebc11178edd73431b644a5de0a31be25.zip | |
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.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -25,6 +25,12 @@ otherwise leave it unmarked. | |||
| 25 | 25 | ||
| 26 | * Installation Changes in Emacs 25.2 | 26 | * Installation Changes in Emacs 25.2 |
| 27 | 27 | ||
| 28 | ** The new option 'configure --enable-gcc-warnings=warn-only' causes | ||
| 29 | GCC to issue warnings without stopping the bild. This behavior is now | ||
| 30 | the default in developer builds. As before, use | ||
| 31 | '--disable-gcc-warnings' to suppress GCC's warnings, and | ||
| 32 | '--enable-gcc-warnings' to stop the build if GCC issues warnings. | ||
| 33 | |||
| 28 | +++ | 34 | +++ |
| 29 | ** New configure option '--disable-build-details' attempts to build an | 35 | ** New configure option '--disable-build-details' attempts to build an |
| 30 | Emacs that is more likely to be reproducible; that is, if you build | 36 | Emacs that is more likely to be reproducible; that is, if you build |