Sun Mar 21 02:54:46 CET 2004

(Kim)

Enable compiling with -Wwrite-strings.


SVN revision: 9416
This commit is contained in:
Kim Woelders 2004-03-21 01:45:32 +00:00
parent c78da80c38
commit 344a9f4f2c
3 changed files with 9 additions and 2 deletions

View File

@ -2576,3 +2576,10 @@ Sat Mar 20 17:14:56 CET 2004
Prepare to enable compiling the code with paranoid compiler settings.
Use libc setenv when available.
-------------------------------------------------------------------------------
Sun Mar 21 02:54:46 CET 2004
(Kim)
Enable compiling with -Wwrite-strings.

View File

@ -208,7 +208,7 @@ AC_ARG_ENABLE(gcc-warnings,
[ --enable-gcc-warnings enable GCC compiler warnings [default=no]], ,
enable_gcc_warnings=no)
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
AC_OUTPUT([

2
e.spec
View File

@ -1,6 +1,6 @@
%define name enlightenment
%define version 0.16.7
%define release 0.37
%define release 0.38
Summary: The Enlightenment window manager.
Name: %{name}