mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
HP C adjustments:
Due to the HP-UX socklen_t issue it is insane to use the +w1 warning level. It generates more than 1100 warnings on socklen_t related statements. Until the issue is somehow fixed we will just use the +w2 warning level.
This commit is contained in:
parent
d0a48627b2
commit
d61f260372
@ -700,7 +700,11 @@ AC_DEFUN([CARES_SET_COMPILER_WARNING_OPTS], [
|
||||
#
|
||||
if test "$want_warnings" = "yes"; then
|
||||
dnl Issue all warnings
|
||||
tmp_CFLAGS="$tmp_CFLAGS +w1"
|
||||
dnl tmp_CFLAGS="$tmp_CFLAGS +w1"
|
||||
dnl Due to the HP-UX socklen_t issue it is insane to use the +w1
|
||||
dnl warning level. Until the issue is somehow fixed we will just
|
||||
dnl use the +w2 warning level.
|
||||
tmp_CFLAGS="$tmp_CFLAGS +w2"
|
||||
fi
|
||||
;;
|
||||
#
|
||||
|
@ -706,7 +706,11 @@ AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [
|
||||
#
|
||||
if test "$want_warnings" = "yes"; then
|
||||
dnl Issue all warnings
|
||||
tmp_CFLAGS="$tmp_CFLAGS +w1"
|
||||
dnl tmp_CFLAGS="$tmp_CFLAGS +w1"
|
||||
dnl Due to the HP-UX socklen_t issue it is insane to use the +w1
|
||||
dnl warning level. Until the issue is somehow fixed we will just
|
||||
dnl use the +w2 warning level.
|
||||
tmp_CFLAGS="$tmp_CFLAGS +w2"
|
||||
fi
|
||||
;;
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user