Merge from trunk.
[bpt/emacs.git] / src / ChangeLog
index 18a3d45..5abf92b 100644 (file)
@@ -1,3 +1,16 @@
+2012-04-09  Paul Eggert  <eggert@cs.ucla.edu>
+
+       configure: new option --enable-gcc-warnings (Bug#11207)
+       * Makefile.in (C_WARNINGS_SWITCH): Remove.
+       (WARN_CFLAGS, WERROR_CFLAGS): New macros.
+       (ALL_CFLAGS): Use new macros rather than old.
+       * process.c: Ignore -Wstrict-overflow to work around GCC bug 52904.
+       * regex.c: Ignore -Wstrict-overflow.  If !emacs, also ignore
+       -Wunused-but-set-variable, -Wunused-function, -Wunused-macros,
+       -Wunused-result, -Wunused-variable.  This should go away once
+       the Emacs and Gnulib regex code is merged.
+       (xmalloc, xrealloc): Now static.
+
 2012-04-09  Glenn Morris  <rgm@gnu.org>
 
        * doc.c (Fsnarf_documentation): Check variables, functions are bound,