From 67546201c09718dee616cda362fef96f6f31996d Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 17 Apr 2012 14:40:07 -0700 Subject: [PATCH] INSTALL: Mention --enable-gcc-warnings. --- ChangeLog | 1 + INSTALL | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6020d15779..1863319900 100644 --- a/ChangeLog +++ b/ChangeLog @@ -12,6 +12,7 @@ (PKG_CHECK_MODULES, C_SWITCH_X_SITE): Use -isystem rather than -I, when including system files with GCC. * etc/NEWS: Mention --enable-gcc-warnings. + * INSTALL (DETAILED BUILDING AND INSTALLATION): Likewise. * lib/Makefile.am (AM_CFLAGS): New macro. * m4/manywarnings.m4, m4/warnings.m4: New files, from gnulib. diff --git a/INSTALL b/INSTALL index 1e0844879c..1df686ae63 100644 --- a/INSTALL +++ b/INSTALL @@ -317,6 +317,12 @@ Use --with-wide-int to implement Emacs values with the type 'long long', even on hosts where a narrower type would do. With this option, on a typical 32-bit host, Emacs integers have 62 bits instead of 30. +Use --enable-gcc-warnings to enable compile-time checks that warn +about possibly-questionable C code. This is intended for developers +and is useful with GNU-compatible compilers. On a recent GNU system +there should be no warnings; on older and on non-GNU systems the +generated warnings may still be useful. + The `--prefix=PREFIXDIR' option specifies where the installation process should put emacs and its data files. This defaults to `/usr/local'. - Emacs (and the other utilities users run) go in PREFIXDIR/bin -- 2.39.2