* Makefile.in (WARN_CFLAGS): Get it from configure.
(WERROR_CFLAGS): New. (INTERNAL_CFLAGS): Add WERROR_CFLAGS. * configure.ac: Introduce --enable-werror, which adds -Werror to the compiler command line. Enabled by default. Disable with --disable-werror. Add -Wdeclaration-after-statement Wpointer-arith and -Wformat-nonliteral to warning flags. * configure: Regenerate.
This commit is contained in:
parent
d4596a3d79
commit
fd4679698a
1 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,14 @@
|
||||||
|
2010-08-26 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
|
* Makefile.in (WARN_CFLAGS): Get it from configure.
|
||||||
|
(WERROR_CFLAGS): New.
|
||||||
|
(INTERNAL_CFLAGS): Add WERROR_CFLAGS.
|
||||||
|
* configure.ac: Introduce --enable-werror, which adds -Werror to
|
||||||
|
the compiler command line. Enabled by default. Disable with
|
||||||
|
--disable-werror. Add -Wdeclaration-after-statement
|
||||||
|
Wpointer-arith and -Wformat-nonliteral to warning flags.
|
||||||
|
* configure: Regenerate.
|
||||||
|
|
||||||
2010-08-26 Pedro Alves <pedro@codesourcery.com>
|
2010-08-26 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
* mem-break.c [HAVE_MALLOC_H]: Include malloc.h.
|
* mem-break.c [HAVE_MALLOC_H]: Include malloc.h.
|
||||||
|
|
Loading…
Reference in a new issue