Compile improvemnts for strict compilers and the like

Down to two warning messages for egcs compile


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 1999-01-07 17:20:10 +00:00
parent eb7aa89b04
commit 06f46ad1fe
2 changed files with 6 additions and 6 deletions

6
configure vendored
View File

@ -6653,14 +6653,14 @@ EOF
esac
if test "x$GCC" = xyes; then
CFLAGS="${CFLAGS} -Wall"
CFLAGS="${CFLAGS} -Wall -Wno-unused -Wno-uninitialized -D_REENTRANT -DLEX_SCANNER"
fi
if test "x$GXX" = xyes; then
if test "$wxUSE_MOTIF" = 1; then
CXXFLAGS="${CXXFLAGS} -Wall -Wno-unused"
CXXFLAGS="${CXXFLAGS} -Wall -Wno-unused -D_REENTRANT"
else
CXXFLAGS="${CXXFLAGS} -Wall"
CXXFLAGS="${CXXFLAGS} -Wall -D_REENTRANT"
fi
fi

View File

@ -1397,14 +1397,14 @@ case "${canonical}" in
esac
if test "x$GCC" = xyes; then
CFLAGS="${CFLAGS} -Wall"
CFLAGS="${CFLAGS} -Wall -Wno-unused -Wno-uninitialized -D_REENTRANT -DLEX_SCANNER"
fi
if test "x$GXX" = xyes; then
if test "$wxUSE_MOTIF" = 1; then
CXXFLAGS="${CXXFLAGS} -Wall -Wno-unused"
CXXFLAGS="${CXXFLAGS} -Wall -Wno-unused -D_REENTRANT"
else
CXXFLAGS="${CXXFLAGS} -Wall"
CXXFLAGS="${CXXFLAGS} -Wall -D_REENTRANT"
fi
fi