Check-in Number:
|
3666 | |
Date: |
2003-Nov-06 16:26:16 (local)
2003-Nov-06 15:26:16 (UTC) |
User: | thl |
Branch: | |
Comment: |
reorganize compiler warning options for easier comparison with other packages; remove traditional |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/cfg/aclocal.m4 1.3 -> 1.4
--- aclocal.m4 2003/01/06 11:17:42 1.3
+++ aclocal.m4 2003/11/06 15:26:16 1.4
@@ -79,11 +79,19 @@
AC_COMPILER_OPTION(defdbg, -DDEBUG, -DDEBUG, CFLAGS="$CFLAGS -DDEBUG")
CFLAGS="$CFLAGS -pedantic"
CFLAGS="$CFLAGS -Wall"
- WMORE="-Wmultichar -Wno-system-headers -Wtraditional"
- WMORE="$WMORE -Wshadow -Wpointer-arith"
- WMORE="$WMORE -Wbad-function-cast -Wcast-align"
- WMORE="$WMORE -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations"
- WMORE="$WMORE -Wredundant-decls -Wnested-externs -Winline"
+ 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")
else
case "$CFLAGS" in
|
|