Skip to content
Snippets Groups Projects
Commit 9bb18543 authored by Yang Tse's avatar Yang Tse
Browse files

Set HP-UX compiler warning level back to the one that exposes

the socklen_t issue on this platform.
parent f7400212
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@
#***************************************************************************
# File version for 'aclocal' use. Keep it a single number.
# serial 46
# serial 47
dnl CARES_CHECK_COMPILER
......@@ -908,11 +908,11 @@ AC_DEFUN([CARES_SET_COMPILER_WARNING_OPTS], [
#
if test "$want_warnings" = "yes"; then
dnl Issue all warnings
dnl tmp_CFLAGS="$tmp_CFLAGS +w1"
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"
dnl tmp_CFLAGS="$tmp_CFLAGS +w2"
fi
;;
#
......
......@@ -5,7 +5,7 @@
# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
# Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
# Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
......@@ -22,7 +22,7 @@
#***************************************************************************
# File version for 'aclocal' use. Keep it a single number.
# serial 46
# serial 47
dnl CURL_CHECK_COMPILER
......@@ -914,11 +914,11 @@ AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [
#
if test "$want_warnings" = "yes"; then
dnl Issue all warnings
dnl tmp_CFLAGS="$tmp_CFLAGS +w1"
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"
dnl tmp_CFLAGS="$tmp_CFLAGS +w2"
fi
;;
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment