|
|
| version 1.16, 2011/12/29 14:06:47 | version 1.17, 2011/12/29 14:32:31 |
|---|---|
| Line 177 dnl Checks for warning | Line 177 dnl Checks for warning |
| dnl | dnl |
| AC_MSG_CHECKING([whether to enable warning]) | AC_MSG_CHECKING([whether to enable warning]) |
| if test x"$enable_warning" = "xyes"; then | if test x"$enable_warning" = "xyes"; then |
| CFLAGS="$CFLAGS -Wall -Wcast-align" | CFLAGS="$CFLAGS -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith" |
| CFLAGS="$CFLAGS -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations" | CFLAGS="$CFLAGS -Wreturn-type -Wswitch -Wshadow" |
| CFLAGS="$CFLAGS -Wextra -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers" | CFLAGS="$CFLAGS -Wcast-qual -Wwrite-strings" |
| CFLAGS="$CFLAGS -Wextra -Wno-unused-parameter" | |
| CFLAGS="$CFLAGS -Wformat=2" | |
| fi | fi |
| AC_MSG_RESULT($enable_warning) | AC_MSG_RESULT($enable_warning) |