diff options
author | rubidium <rubidium@openttd.org> | 2009-05-24 21:09:00 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-05-24 21:09:00 +0000 |
commit | 168ae6f7e2e87d3050c39bbb03148924751370a3 (patch) | |
tree | f231a8b93fcf344d126a8d3aa3ded9803200ca67 /config.lib | |
parent | 0d99b6c71cd096599b4805d230483f3e4e958af1 (diff) | |
download | openttd-168ae6f7e2e87d3050c39bbb03148924751370a3.tar.xz |
(svn r16422) -Codechange: use const_cast for removing const and warn when const is (accidentally?) removed using C-style casts.
Diffstat (limited to 'config.lib')
-rw-r--r-- | config.lib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config.lib b/config.lib index 64d84654f..9ff14ed2a 100644 --- a/config.lib +++ b/config.lib @@ -1103,7 +1103,7 @@ make_cflags_and_ldflags() { if [ $cc_version -ge 29 ]; then CFLAGS="$CFLAGS -Wall -Wno-multichar -Wsign-compare -Wundef" CFLAGS="$CFLAGS -Wwrite-strings -Wpointer-arith" - CFLAGS="$CFLAGS -Wno-uninitialized" + CFLAGS="$CFLAGS -Wno-uninitialized -Wcast-qual" CC_CFLAGS="$CC_CFLAGS -Wstrict-prototypes" fi |