diff options
| author | Dana Jansens <danakj@orodu.net> | 2010-10-04 18:46:32 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2011-01-24 14:19:22 -0500 |
| commit | a21e9c9cc5f2b1a62e7812c1bf4393089505abeb (patch) | |
| tree | 4a1cf6df0ad1fbadbab94836134dcc831620aec4 /m4 | |
| parent | 6e5de3b57eb1b39c2c3bd170c2dfca205d4a49ff (diff) | |
add some more warning flags for debug builds
-Wno-write-strings so that "foo" is treated as a const char* not a char*.
-Wextra for more fun
Diffstat (limited to 'm4')
| -rw-r--r-- | m4/openbox.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/m4/openbox.m4 b/m4/openbox.m4 index 86d3e0b5..862c6891 100644 --- a/m4/openbox.m4 +++ b/m4/openbox.m4 @@ -77,6 +77,7 @@ AC_DEFUN([OB_COMPILER_FLAGS], FLAGS="$FLAGS -O0 -ggdb -fno-inline -Wwrite-strings" FLAGS="$FLAGS -Wall -Wsign-compare -Waggregate-return" FLAGS="$FLAGS -Wbad-function-cast -Wpointer-arith" + FLAGS="$FLAGS -Wno-write-strings -Wextra" # glib can't handle this flag # -Wcast-qual # for Python.h |
