Add some more warnings when building with Sun^WOracle's C compiler.

Change-Id: I696b0757ba7fece61f50ebcee79b576a4f15660f
Reviewed-on: https://code.wireshark.org/review/8361
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2015-05-08 16:26:02 -07:00
parent 27f276f8b6
commit a50eefbd0f
1 changed files with 7 additions and 0 deletions

View File

@ -1296,6 +1296,13 @@ else
CXXFLAGS="+O2 $CFLAGS"
AC_MSG_RESULT(HP ANSI C compiler - added -Ae +O2)
;;
solaris*)
#
# Crank up the warning level.
#
CFLAGS="$CFLAGS -v"
CXXFLAGS="$CXXFLAGS +w2"
;;
*)
AC_MSG_RESULT(none needed)
;;