diff ChangeLog @ 11511:8837a42205d3

more warning flags for GCC if configured with --enable-extra-warning-flags (on by default)
author John W. Eaton <jwe@octave.org>
date Thu, 13 Jan 2011 07:21:46 -0500
parents 7bddd70bc838
children a2289858dcb2
line wrap: on
line diff
--- a/ChangeLog	Thu Jan 13 06:31:32 2011 -0500
+++ b/ChangeLog	Thu Jan 13 07:21:46 2011 -0500
@@ -1,3 +1,10 @@
+2011-01-13  John W. Eaton  <jwe@octave.org>
+
+	* configure.ac (AC_ARG_ENABLE(extra-warning-flags)): Check for
+	-Wpointer-arith, -Wmissing-prototypes, -Wstrict-prototypes, and
+	-Wwrite-strings and add them to WARN_CFLAGS.  Check for
+	-Wpointer-arith and add them to WARN_CXXFLAGS.
+
 2011-01-12  John W. Eaton  <jwe@octave.org>
 
 	* mk-opts.pl: Generate initialization lists and in-line code for