mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-31 17:10:47 +08:00
[svn-r3279] Purpose:
Warning Reduction Description: Removed the -Wpointer-arith flag which complains about addintion with void * pointers. This is a known gcc 2.95.2 annoyance. There's still some issues with many str* warnings...not 7000, though. Platforms tested: Linux
This commit is contained in:
parent
3015b2ccc8
commit
a1551e334d
2
configure
vendored
2
configure
vendored
@ -1771,7 +1771,7 @@ done
|
||||
rm maketest
|
||||
|
||||
if test "X$GCC" = "Xyes"; then
|
||||
CFLAGS="$CFLAGS -ansi -pedantic -Wchar-subscripts -Wconversion -Wredundant-decls -Wall -W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline"
|
||||
CFLAGS="$CFLAGS -ansi -pedantic -Wchar-subscripts -Wconversion -Wredundant-decls -Wall -W -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline"
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for production mode""... $ac_c" 1>&6
|
||||
|
@ -336,7 +336,7 @@ dnl ----------------------------------------------------------------------
|
||||
dnl Turn on warning flags for gcc.
|
||||
dnl
|
||||
if test "X$GCC" = "Xyes"; then
|
||||
CFLAGS="$CFLAGS -ansi -pedantic -Wchar-subscripts -Wconversion -Wredundant-decls -Wall -W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline"
|
||||
CFLAGS="$CFLAGS -ansi -pedantic -Wchar-subscripts -Wconversion -Wredundant-decls -Wall -W -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline"
|
||||
fi
|
||||
|
||||
dnl ----------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user