Sun Mar 21 02:54:46 CET 2004
(Kim) Enable compiling with -Wwrite-strings. SVN revision: 9416
This commit is contained in:
parent
c78da80c38
commit
344a9f4f2c
|
@ -2576,3 +2576,10 @@ Sat Mar 20 17:14:56 CET 2004
|
||||||
|
|
||||||
Prepare to enable compiling the code with paranoid compiler settings.
|
Prepare to enable compiling the code with paranoid compiler settings.
|
||||||
Use libc setenv when available.
|
Use libc setenv when available.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Sun Mar 21 02:54:46 CET 2004
|
||||||
|
(Kim)
|
||||||
|
|
||||||
|
Enable compiling with -Wwrite-strings.
|
||||||
|
|
|
@ -208,7 +208,7 @@ AC_ARG_ENABLE(gcc-warnings,
|
||||||
[ --enable-gcc-warnings enable GCC compiler warnings [default=no]], ,
|
[ --enable-gcc-warnings enable GCC compiler warnings [default=no]], ,
|
||||||
enable_gcc_warnings=no)
|
enable_gcc_warnings=no)
|
||||||
if test "x$enable_gcc_warnings" = "xyes"; then
|
if test "x$enable_gcc_warnings" = "xyes"; then
|
||||||
CFLAGS="$CFLAGS -W -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wcast-align -Wpointer-arith -Wshadow #-Wwrite-strings -Wunreachable-code"
|
CFLAGS="$CFLAGS -W -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wcast-align -Wpointer-arith -Wshadow -Wwrite-strings #-Wunreachable-code"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_OUTPUT([
|
AC_OUTPUT([
|
||||||
|
|
Loading…
Reference in New Issue