Check-in Number:
|
4465 | |
Date: |
2004-Mar-26 17:55:14 (local)
2004-Mar-26 16:55:14 (UTC) |
User: | thl |
Branch: | |
Comment: |
reorganize compiler warning options for easier comparison with other packages |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/sa/aclocal.m4 1.6 -> 1.7
--- aclocal.m4 2003/01/06 13:11:23 1.6
+++ aclocal.m4 2004/03/26 16:55:14 1.7
@@ -79,8 +79,14 @@
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 -Wcast-align"
+ WMORE="$WMORE -Winline"
+ WMORE="$WMORE -Wmissing-declarations"
+ WMORE="$WMORE -Wmissing-prototypes"
+ WMORE="$WMORE -Wnested-externs"
+ WMORE="$WMORE -Wpointer-arith"
+ WMORE="$WMORE -Wshadow"
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
|
|