Check-in Number:
|
3667 | |
Date: |
2003-Nov-06 16:26:38 (local)
2003-Nov-06 15:26:38 (UTC) |
User: | thl |
Branch: | |
Comment: |
reorganize compiler warning options for easier comparison with other packages |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/l2/aclocal.m4 1.14 -> 1.15
--- aclocal.m4 2003/01/06 11:41:51 1.14
+++ aclocal.m4 2003/11/06 15:26:38 1.15
@@ -141,8 +141,19 @@
AC_COMPILER_OPTION(defdbg, -DDEBUG, -DDEBUG, CFLAGS="$CFLAGS -DDEBUG")
CFLAGS="$CFLAGS -pedantic"
CFLAGS="$CFLAGS -Wall"
- WMORE="-Wshadow -Wpointer-arith -Wcast-align -Winline"
- WMORE="$WMORE -Wmissing-prototypes -Wmissing-declarations -Wnested-externs"
+ WMORE=""
+ WMORE="$WMORE -Wbad-function-cast"
+ WMORE="$WMORE -Wcast-align"
+ WMORE="$WMORE -Winline"
+ WMORE="$WMORE -Wmissing-declarations"
+ WMORE="$WMORE -Wmissing-prototypes"
+ WMORE="$WMORE -Wmultichar"
+ WMORE="$WMORE -Wnested-externs"
+ WMORE="$WMORE -Wno-system-headers"
+ WMORE="$WMORE -Wpointer-arith"
+ WMORE="$WMORE -Wredundant-decls"
+ WMORE="$WMORE -Wshadow"
+ WMORE="$WMORE -Wstrict-prototypes"
AC_COMPILER_OPTION(wmore, -W<xxx>, $WMORE, CFLAGS="$CFLAGS $WMORE")
AC_COMPILER_OPTION(wnolonglong, -Wno-long-long, -Wno-long-long, CFLAGS="$CFLAGS -Wno-long-long")
else
|
|