Build of unrealircd with clang_glibc toolchain

The build took 00h 02m 51s and was NOT successful.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
176,667 ansic
31,365 sh
8,753 makefile
419 perl
44 python
18 awk
16 sed
217,282 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

Log

To avoid scrolling, you may jump to the last line of the invocation of makepkg that was used to build this package.

Removed vanilla repositories from pacman.conf and added:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

Copied permanent toolchain into container-local sysroot
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/sbin --> /sysroot/sbin
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/etc --> /sysroot/etc
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/var --> /sysroot/var
# /toolchain_root/usr --> /sysroot/usr
# /toolchain_root/glibc-build --> /sysroot/glibc-build
# /toolchain_root/x86_64-pc-linux-gnu --> /sysroot/x86_64-pc-linux-gnu
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=clang CXX=clang++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: unrealircd 4.0.4-1 (Thu Apr 13 21:08:01 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (1) c-ares-1.11.0-1
#
# Total Installed Size: 0.16 MiB
#
# :: Proceed with installation? [Y/n]
# checking keyring...
# checking package integrity...
# loading package files...
# checking for file conflicts...
# checking available disk space...
# :: Processing package changes...
# installing c-ares...
# :: Running post-transaction hooks...
# (1/1) Updating manpage index...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# checking for x86_64-unknown-linux-gcc... clang
# checking whether the C compiler works... yes
# checking for C compiler default output file name... a.out
# checking for suffix of executables...
# checking whether we are cross compiling... no
# checking for suffix of object files... o
# checking whether we are using the GNU C compiler... yes
# checking whether clang accepts -g... yes
# checking for clang option to accept ISO C89... none needed
# checking if gcc has a working -pipe... yes
# checking for rm... /usr/bin/rm
# checking for cp... /usr/bin/cp
# checking for touch... /usr/bin/touch
# checking for openssl... /usr/bin/openssl
# checking for install... /usr/bin/install
# checking for gmake... make
# checking for gmake... no
# checking for gunzip... /usr/bin/gunzip
# checking for pkg-config... /usr/bin/pkg-config
# checking for crypt in -ldescrypt... no
# checking for crypt in -lcrypt... yes
# checking for socket in -lsocket... no
# checking for inet_ntoa in -lnsl... yes
# checking for RAND_egd in -lcrypto... yes
# checking if your system has IPv6 support... yes
# checking how to run the C preprocessor... clang -E
# checking for grep that handles long lines and -e... /usr/bin/grep
# checking for egrep... /usr/bin/grep -E
# checking for ANSI C header files... yes
# checking for sys/types.h... yes
# checking for sys/stat.h... yes
# checking for stdlib.h... yes
# checking for string.h... yes
# checking for memory.h... yes
# checking for strings.h... yes
# checking for inttypes.h... yes
# checking for stdint.h... yes
# checking for unistd.h... yes
# checking sys/param.h usability... yes
# checking sys/param.h presence... yes
# checking for sys/param.h... yes
# checking for stdlib.h... (cached) yes
# checking stddef.h usability... yes
# checking stddef.h presence... yes
# checking for stddef.h... yes
# checking sys/syslog.h usability... yes
# checking sys/syslog.h presence... yes
# checking for sys/syslog.h... yes
# checking for unistd.h... (cached) yes
# checking for string.h... (cached) yes
# checking for strings.h... (cached) yes
# checking malloc.h usability... yes
# checking malloc.h presence... yes
# checking for malloc.h... yes
# checking sys/rusage.h usability... no
# checking sys/rusage.h presence... no
# checking for sys/rusage.h... no
# checking glob.h usability... yes
# checking glob.h presence... yes
# checking for glob.h... yes
# checking for stdint.h... (cached) yes
# checking for inttypes.h... (cached) yes
# checking for an ANSI C-conforming const... yes
# checking for inline... inline
# checking for mode_t... yes
# checking for size_t... yes
# checking for intptr_t... yes
# checking whether time.h and sys/time.h may both be included... yes
# checking for sys/wait.h that is POSIX.1 compatible... yes
# checking whether struct tm is in sys/time.h or time.h... time.h
# checking for uid_t in sys/types.h... yes
# checking size of short... 2
# checking size of int... 4
# checking size of long... 8
# checking for int16_t... yes
# checking for u_int16_t... yes
# checking for int32_t... yes
# checking for u_int32_t... yes
# checking size of rlim_t... 0
# checking what kind of nonblocking sockets you have... O_NONBLOCK
# checking whether clang needs -traditional... no
# checking whether setpgrp takes no argument... yes
# checking for snprintf... yes
# checking for vsnprintf... yes
# checking for strlcpy... no
# checking for strlcat... no
# checking for strlncat... no
# checking for inet_pton... yes
# checking for inet_ntop... yes
# checking if C99 variable length arrays are supported... no
# checking if we can set the core size to unlimited... yes
# checking for vprintf... yes
# checking for _doprnt... no
# checking for gettimeofday... yes
# checking for getrusage... yes
# checking for setproctitle... no
# checking for setproctitle in -lutil... no
# checking for pstat... no
# checking what type of signals you have... POSIX
# checking for strtoken... no
# checking for strtok... yes
# checking for strerror... yes
# checking for index... yes
# checking for strtoul... yes
# checking for bcopy... yes
# checking for bcmp... yes
# checking for bzero... yes
# checking for strcasecmp... yes
# checking for inet_addr... yes
# checking for inet_ntoa... yes
# checking for syslog... yes
# checking for openssl... found in /usr/include/openssl
# checking for dlopen... no
# checking for dlopen in -ldl... yes
# checking if we need the -export-dynamic flag... yes
# checking for compiler option to produce PIC... -fPIC -DPIC -shared
# checking if your system prepends an underscore on symbols... no
# checking if FD_SETSIZE is large enough to allow 1024 file descriptors... yes
# checking for poll... yes
# checking for epoll_create... yes
# checking for epoll_ctl... yes
# checking for epoll_wait... yes
# checking for kqueue... no
# checking for kevent... no
# checking for x86_64-unknown-linux-pkg-config... no
# checking for pkg-config... /usr/bin/pkg-config
# checking pkg-config is at least version 0.9.0... yes
# extracting TRE regex library
# configuring TRE regex library
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking target system type... x86_64-unknown-linux-gnu
# checking for a BSD-compatible install... /usr/bin/install -c
# checking whether build environment is sane... yes
# checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
# checking for gawk... gawk
# checking whether make sets $(MAKE)... yes
# checking for gcc... clang
# checking for C compiler default output file name... a.out
# checking whether the C compiler works... yes
# checking whether we are cross compiling... no
# checking for suffix of executables...
# checking for suffix of object files... o
# checking whether we are using the GNU C compiler... yes
# checking whether clang accepts -g... yes
# checking for clang option to accept ISO C89... none needed
# checking for style of include used by make... GNU
# checking dependency style of clang... gcc3
# checking how to run the C preprocessor... clang -E
# checking for a BSD-compatible install... /usr/bin/install -c
# checking whether clang and cc understand -c and -o together... yes
# checking for an ANSI C-conforming const... yes
# checking for inline... inline
# checking for grep that handles long lines and -e... /usr/bin/grep
# checking for egrep... /usr/bin/grep -E
# checking for ANSI C header files... yes
# checking for sys/types.h... yes
# checking for sys/stat.h... yes
# checking for stdlib.h... yes
# checking for string.h... yes
# checking for memory.h... yes
# checking for strings.h... yes
# checking for inttypes.h... yes
# checking for stdint.h... yes
# checking for unistd.h... yes
# checking for working alloca.h... yes
# checking for alloca... yes
# checking for isascii... yes
# checking for isblank... yes
# checking getopt.h usability... yes
# checking getopt.h presence... yes
# checking for getopt.h... yes
# checking for getopt_long... yes
# checking for special C compiler options needed for large files... no
# checking for _FILE_OFFSET_BITS value needed for large files... no
# checking whether NLS is requested... yes
# checking for msgfmt... /usr/bin/msgfmt
# checking for gmsgfmt... /usr/bin/msgfmt
# checking for xgettext... /usr/bin/xgettext
# checking for msgmerge... /usr/bin/msgmerge
# checking for ld used by GCC... /usr/bin/ld
# checking if the linker (/usr/bin/ld) is GNU ld... yes
# checking for shared library run path origin... done
# checking for CFPreferencesCopyAppValue... no
# checking for CFLocaleCopyCurrent... no
# checking for GNU gettext in libc... yes
# checking whether to use NLS... yes
# checking where the gettext function comes from... libc
# checking for a sed that does not truncate output... /usr/bin/sed
# checking for ld used by clang... /usr/bin/ld
# checking if the linker (/usr/bin/ld) is GNU ld... yes
# checking for /usr/bin/ld option to reload object files... -r
# checking for BSD-compatible nm... /usr/bin/nm -B
# checking whether ln -s works... yes
# checking how to recognize dependent libraries... pass_all
# checking dlfcn.h usability... yes
# checking dlfcn.h presence... yes
# checking for dlfcn.h... yes
# checking the maximum length of command line arguments... 1572864
# checking command to parse /usr/bin/nm -B output from clang object... ok
# checking for objdir... .libs
# checking for ar... ar
# checking for ranlib... ranlib
# checking for strip... strip
# checking if clang supports -fno-rtti -fno-exceptions... yes
# checking for clang option to produce PIC... -fPIC
# checking if clang PIC flag -fPIC works... yes
# checking if clang static flag -static works... no
# checking if clang supports -c -o file.o... yes
# checking whether the clang linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
# checking dynamic linker characteristics... GNU/Linux ld.so
# checking how to hardcode library paths into programs... immediate
# checking whether stripping libraries is possible... yes
# checking if libtool supports shared libraries... yes
# checking whether to build shared libraries... no
# checking whether to build static libraries... yes
# configure: creating libtool
# configure: creating ./config.status
# config.status: creating Makefile
# config.status: creating doc/Makefile
# config.status: creating doc/agrep.1
# config.status: creating lib/Makefile
# config.status: creating m4/Makefile
# config.status: creating po/Makefile.in
# config.status: creating src/Makefile
# config.status: creating tests/Makefile
# config.status: creating tests/agrep/Makefile
# config.status: creating tre.pc
# config.status: creating tre.spec
# config.status: creating utils/Makefile
# config.status: creating config.h
# config.status: creating lib/tre-config.h
# config.status: executing depfiles commands
# config.status: executing po-directories commands
# config.status: creating po/POTFILES
# config.status: creating po/Makefile
#
#
# Configuration summary
# =====================
#
# TRE is now configured as follows:
#
# * Compilation environment
#
# CC = clang
# CFLAGS = -pipe -funsigned-char -Wl,-export-dynamic
# CPP = clang -E
# CPPFLAGS =
# LD = /usr/bin/ld -m elf_x86_64
# LDFLAGS =
# LIBS =
# Use alloca(): yes
#
# * TRE options
#
# Development-time debugging: no
# System regex ABI compatibility: no
# Wide character (wchar_t) support: no (disabled with --disable-wchar)
# Multibyte character set support: no (disabled with --disable-multibyte)
# Approximate matching support: yes
# Build and install agrep: no
#
# compiling TRE regex library
# make all-recursive
# make[1]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0'
# Making all in lib
# make[2]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/lib'
# make all-am
# make[3]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/lib'
# /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -pipe -funsigned-char -Wl,-export-dynamic -MT tre-ast.lo -MD -MP -MF .deps/tre-ast.Tpo -c -o tre-ast.lo tre-ast.c
# clang -DHAVE_CONFIG_H -I. -I.. -pipe -funsigned-char -Wl,-export-dynamic -MT tre-ast.lo -MD -MP -MF .deps/tre-ast.Tpo -c tre-ast.c -o tre-ast.o
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# mv -f .deps/tre-ast.Tpo .deps/tre-ast.Plo
# /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -pipe -funsigned-char -Wl,-export-dynamic -MT tre-compile.lo -MD -MP -MF .deps/tre-compile.Tpo -c -o tre-compile.lo tre-compile.c
# clang -DHAVE_CONFIG_H -I. -I.. -pipe -funsigned-char -Wl,-export-dynamic -MT tre-compile.lo -MD -MP -MF .deps/tre-compile.Tpo -c tre-compile.c -o tre-compile.o
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# mv -f .deps/tre-compile.Tpo .deps/tre-compile.Plo
# /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -pipe -funsigned-char -Wl,-export-dynamic -MT tre-match-backtrack.lo -MD -MP -MF .deps/tre-match-backtrack.Tpo -c -o tre-match-backtrack.lo tre-match-backtrack.c
# clang -DHAVE_CONFIG_H -I. -I.. -pipe -funsigned-char -Wl,-export-dynamic -MT tre-match-backtrack.lo -MD -MP -MF .deps/tre-match-backtrack.Tpo -c tre-match-backtrack.c -o tre-match-backtrack.o
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# tre-match-backtrack.c:603:42: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
# if (stack->item.state->assertions && ASSERT_BACKREF)
# ^ ~~~~~~~~~~~~~~
# tre-match-backtrack.c:603:42: note: use '&' for a bitwise operation
# if (stack->item.state->assertions && ASSERT_BACKREF)
# ^~
# &
# tre-match-backtrack.c:603:42: note: remove constant to silence this warning
# if (stack->item.state->assertions && ASSERT_BACKREF)
# ~^~~~~~~~~~~~~~~~~
# 1 warning generated.
# mv -f .deps/tre-match-backtrack.Tpo .deps/tre-match-backtrack.Plo
# /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -pipe -funsigned-char -Wl,-export-dynamic -MT tre-match-parallel.lo -MD -MP -MF .deps/tre-match-parallel.Tpo -c -o tre-match-parallel.lo tre-match-parallel.c
# clang -DHAVE_CONFIG_H -I. -I.. -pipe -funsigned-char -Wl,-export-dynamic -MT tre-match-parallel.lo -MD -MP -MF .deps/tre-match-parallel.Tpo -c tre-match-parallel.c -o tre-match-parallel.o
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# mv -f .deps/tre-match-parallel.Tpo .deps/tre-match-parallel.Plo
# /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -pipe -funsigned-char -Wl,-export-dynamic -MT tre-mem.lo -MD -MP -MF .deps/tre-mem.Tpo -c -o tre-mem.lo tre-mem.c
# clang -DHAVE_CONFIG_H -I. -I.. -pipe -funsigned-char -Wl,-export-dynamic -MT tre-mem.lo -MD -MP -MF .deps/tre-mem.Tpo -c tre-mem.c -o tre-mem.o
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# mv -f .deps/tre-mem.Tpo .deps/tre-mem.Plo
# /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -pipe -funsigned-char -Wl,-export-dynamic -MT tre-parse.lo -MD -MP -MF .deps/tre-parse.Tpo -c -o tre-parse.lo tre-parse.c
# clang -DHAVE_CONFIG_H -I. -I.. -pipe -funsigned-char -Wl,-export-dynamic -MT tre-parse.lo -MD -MP -MF .deps/tre-parse.Tpo -c tre-parse.c -o tre-parse.o
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# mv -f .deps/tre-parse.Tpo .deps/tre-parse.Plo
# /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -pipe -funsigned-char -Wl,-export-dynamic -MT tre-stack.lo -MD -MP -MF .deps/tre-stack.Tpo -c -o tre-stack.lo tre-stack.c
# clang -DHAVE_CONFIG_H -I. -I.. -pipe -funsigned-char -Wl,-export-dynamic -MT tre-stack.lo -MD -MP -MF .deps/tre-stack.Tpo -c tre-stack.c -o tre-stack.o
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# mv -f .deps/tre-stack.Tpo .deps/tre-stack.Plo
# /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -pipe -funsigned-char -Wl,-export-dynamic -MT regcomp.lo -MD -MP -MF .deps/regcomp.Tpo -c -o regcomp.lo regcomp.c
# clang -DHAVE_CONFIG_H -I. -I.. -pipe -funsigned-char -Wl,-export-dynamic -MT regcomp.lo -MD -MP -MF .deps/regcomp.Tpo -c regcomp.c -o regcomp.o
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# mv -f .deps/regcomp.Tpo .deps/regcomp.Plo
# /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -pipe -funsigned-char -Wl,-export-dynamic -MT regexec.lo -MD -MP -MF .deps/regexec.Tpo -c -o regexec.lo regexec.c
# clang -DHAVE_CONFIG_H -I. -I.. -pipe -funsigned-char -Wl,-export-dynamic -MT regexec.lo -MD -MP -MF .deps/regexec.Tpo -c regexec.c -o regexec.o
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# mv -f .deps/regexec.Tpo .deps/regexec.Plo
# /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -pipe -funsigned-char -Wl,-export-dynamic -MT regerror.lo -MD -MP -MF .deps/regerror.Tpo -c -o regerror.lo regerror.c
# clang -DHAVE_CONFIG_H -I. -I.. -pipe -funsigned-char -Wl,-export-dynamic -MT regerror.lo -MD -MP -MF .deps/regerror.Tpo -c regerror.c -o regerror.o
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# mv -f .deps/regerror.Tpo .deps/regerror.Plo
# /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -pipe -funsigned-char -Wl,-export-dynamic -MT tre-match-approx.lo -MD -MP -MF .deps/tre-match-approx.Tpo -c -o tre-match-approx.lo tre-match-approx.c
# clang -DHAVE_CONFIG_H -I. -I.. -pipe -funsigned-char -Wl,-export-dynamic -MT tre-match-approx.lo -MD -MP -MF .deps/tre-match-approx.Tpo -c tre-match-approx.c -o tre-match-approx.o
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# mv -f .deps/tre-match-approx.Tpo .deps/tre-match-approx.Plo
# /bin/sh ../libtool --tag=CC --mode=link clang -pipe -funsigned-char -Wl,-export-dynamic -no-undefined -version-info 5:0:0 -o libtre.la -rpath /tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/lib tre-ast.lo tre-compile.lo tre-match-backtrack.lo tre-match-parallel.lo tre-mem.lo tre-parse.lo tre-stack.lo regcomp.lo regexec.lo regerror.lo tre-match-approx.lo
# mkdir .libs
# ar cru .libs/libtre.a tre-ast.o tre-compile.o tre-match-backtrack.o tre-match-parallel.o tre-mem.o tre-parse.o tre-stack.o regcomp.o regexec.o regerror.o tre-match-approx.o
# ar: `u' modifier ignored since `D' is the default (see `U')
# ranlib .libs/libtre.a
# creating libtre.la
# (cd .libs && rm -f libtre.la && ln -s ../libtre.la libtre.la)
# make[3]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/lib'
# make[2]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/lib'
# Making all in tests
# make[2]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/tests'
# Making all in agrep
# make[3]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/tests/agrep'
# make[3]: Nothing to be done for 'all'.
# make[3]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/tests/agrep'
# make[3]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/tests'
# make[3]: Nothing to be done for 'all-am'.
# make[3]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/tests'
# make[2]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/tests'
# Making all in utils
# make[2]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/utils'
# make[2]: Nothing to be done for 'all'.
# make[2]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/utils'
# Making all in po
# make[2]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/po'
# make[2]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/po'
# Making all in m4
# make[2]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/m4'
# make[2]: Nothing to be done for 'all'.
# make[2]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/m4'
# make[2]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0'
# make[2]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0'
# make[1]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0'
# installing TRE regex library
# Making install in lib
# make[1]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/lib'
# make[2]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/lib'
# test -z "/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/lib" || /usr/bin/mkdir -p "/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/lib"
# /bin/sh ../libtool --mode=install /usr/bin/install -c 'libtre.la' '/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/lib/libtre.la'
# /usr/bin/install -c .libs/libtre.lai /tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/lib/libtre.la
# /usr/bin/install -c .libs/libtre.a /tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/lib/libtre.a
# chmod 644 /tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/lib/libtre.a
# ranlib /tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/lib/libtre.a
# PATH="$PATH:/sbin" ldconfig -n /tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/lib
# ----------------------------------------------------------------------
# Libraries have been installed in:
# /tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/lib
#
# If you ever happen to want to link against installed libraries
# in a given directory, LIBDIR, you must either use libtool, and
# specify the full pathname of the library, or use the `-LLIBDIR'
# flag during linking and do at least one of the following:
# - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
# during execution
# - add LIBDIR to the `LD_RUN_PATH' environment variable
# during linking
# - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
# - have your system administrator add LIBDIR to `/etc/ld.so.conf'
#
# See any operating system documentation about shared libraries for
# more information, such as the ld(1) and ld.so(8) manual pages.
# ----------------------------------------------------------------------
# test -z "/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include/tre" || /usr/bin/mkdir -p "/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include/tre"
# /usr/bin/install -c -m 644 'tre.h' '/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include/tre/tre.h'
# /usr/bin/install -c -m 644 'regex.h' '/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include/tre/regex.h'
# test -z "/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include/tre" || /usr/bin/mkdir -p "/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include/tre"
# /usr/bin/install -c -m 644 'tre-config.h' '/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include/tre/tre-config.h'
# make[2]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/lib'
# make[1]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/lib'
# Making install in tests
# make[1]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/tests'
# Making install in agrep
# make[2]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/tests/agrep'
# make[3]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/tests/agrep'
# make[3]: Nothing to be done for 'install-exec-am'.
# make[3]: Nothing to be done for 'install-data-am'.
# make[3]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/tests/agrep'
# make[2]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/tests/agrep'
# make[2]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/tests'
# make[3]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/tests'
# make[3]: Nothing to be done for 'install-exec-am'.
# make[3]: Nothing to be done for 'install-data-am'.
# make[3]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/tests'
# make[2]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/tests'
# make[1]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/tests'
# Making install in utils
# make[1]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/utils'
# make[2]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/utils'
# make[2]: Nothing to be done for 'install-exec-am'.
# make[2]: Nothing to be done for 'install-data-am'.
# make[2]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/utils'
# make[1]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/utils'
# Making install in po
# make[1]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/po'
# /usr/bin/mkdir -p /tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/share
# installing fi.gmo as /tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/share/locale/fi/LC_MESSAGES/tre.mo
# installing sv.gmo as /tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/share/locale/sv/LC_MESSAGES/tre.mo
# if test "tre" = "gettext-tools"; then \
# /usr/bin/mkdir -p /tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/share/gettext/po; \
# for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \
# /usr/bin/install -c -m 644 ./$file \
# /tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/share/gettext/po/$file; \
# done; \
# for file in Makevars; do \
# rm -f /tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/share/gettext/po/$file; \
# done; \
# else \
# : ; \
# fi
# make[1]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/po'
# Making install in m4
# make[1]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/m4'
# make[2]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/m4'
# make[2]: Nothing to be done for 'install-exec-am'.
# make[2]: Nothing to be done for 'install-data-am'.
# make[2]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/m4'
# make[1]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/m4'
# make[1]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0'
# make[2]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0'
# make[2]: Nothing to be done for 'install-exec-am'.
# test -z "/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/lib/pkgconfig" || /usr/bin/mkdir -p "/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/lib/pkgconfig"
# /usr/bin/install -c -m 644 'tre.pc' '/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/lib/pkgconfig/tre.pc'
# make[2]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0'
# make[1]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0'
# extracting PCRE2 regex library
# configuring PCRE2 regex library
# checking for a BSD-compatible install... /usr/bin/install -c
# checking whether build environment is sane... yes
# checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
# checking for gawk... gawk
# checking whether make sets $(MAKE)... yes
# checking whether make supports nested variables... yes
# checking whether make supports nested variables... (cached) yes
# checking for style of include used by make... GNU
# checking for gcc... clang
# checking whether the C compiler works... yes
# checking for C compiler default output file name... a.out
# checking for suffix of executables...
# checking whether we are cross compiling... no
# checking for suffix of object files... o
# checking whether we are using the GNU C compiler... yes
# checking whether clang accepts -g... yes
# checking for clang option to accept ISO C89... none needed
# checking whether clang understands -c and -o together... yes
# checking dependency style of clang... gcc3
# checking for ar... ar
# checking the archiver (ar) interface... ar
# checking for gcc... (cached) clang
# checking whether we are using the GNU C compiler... (cached) yes
# checking whether clang accepts -g... (cached) yes
# checking for clang option to accept ISO C89... (cached) none needed
# checking whether clang understands -c and -o together... (cached) yes
# checking dependency style of clang... (cached) gcc3
# checking how to run the C preprocessor... clang -E
# checking for grep that handles long lines and -e... /usr/bin/grep
# checking for egrep... /usr/bin/grep -E
# checking for ANSI C header files... yes
# checking for sys/types.h... yes
# checking for sys/stat.h... yes
# checking for stdlib.h... yes
# checking for string.h... yes
# checking for memory.h... yes
# checking for strings.h... yes
# checking for inttypes.h... yes
# checking for stdint.h... yes
# checking for unistd.h... yes
# checking for int64_t... yes
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking how to print strings... printf
# checking for a sed that does not truncate output... /usr/bin/sed
# checking for fgrep... /usr/bin/grep -F
# checking for ld used by clang... /usr/bin/ld
# checking if the linker (/usr/bin/ld) is GNU ld... yes
# checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
# checking the name lister (/usr/bin/nm -B) interface... BSD nm
# checking whether ln -s works... yes
# checking the maximum length of command line arguments... 1572864
# checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
# checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
# checking for /usr/bin/ld option to reload object files... -r
# checking for objdump... objdump
# checking how to recognize dependent libraries... pass_all
# checking for dlltool... dlltool
# checking how to associate runtime and link libraries... printf %s\n
# checking for archiver @FILE support... @
# checking for strip... strip
# checking for ranlib... ranlib
# checking command to parse /usr/bin/nm -B output from clang object... ok
# checking for sysroot... no
# checking for a working dd... /usr/bin/dd
# checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
# checking for mt... no
# checking if : is a manifest tool... no
# checking for dlfcn.h... yes
# checking for objdir... .libs
# checking if clang supports -fno-rtti -fno-exceptions... yes
# checking for clang option to produce PIC... -fPIC -DPIC
# checking if clang PIC flag -fPIC -DPIC works... yes
# checking if clang static flag -static works... no
# checking if clang supports -c -o file.o... yes
# checking if clang supports -c -o file.o... (cached) yes
# checking whether the clang linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
# checking dynamic linker characteristics... GNU/Linux ld.so
# checking how to hardcode library paths into programs... immediate
# checking whether stripping libraries is possible... yes
# checking if libtool supports shared libraries... yes
# checking whether to build shared libraries... no
# checking whether to build static libraries... yes
# checking whether ln -s works... yes
# checking whether the -Werror option is usable... no
# checking for simple visibility declarations... yes
# checking for ANSI C header files... (cached) yes
# checking limits.h usability... yes
# checking limits.h presence... yes
# checking for limits.h... yes
# checking for sys/types.h... (cached) yes
# checking for sys/stat.h... (cached) yes
# checking dirent.h usability... yes
# checking dirent.h presence... yes
# checking for dirent.h... yes
# checking windows.h usability... no
# checking windows.h presence... no
# checking for windows.h... no
# checking for an ANSI C-conforming const... yes
# checking for size_t... yes
# checking for bcopy... yes
# checking for memmove... yes
# checking for strerror... yes
# checking zlib.h usability... yes
# checking zlib.h presence... yes
# checking for zlib.h... yes
# checking for gzopen in -lz... yes
# checking bzlib.h usability... yes
# checking bzlib.h presence... yes
# checking for bzlib.h... yes
# checking for libbz2... yes
# checking for the pthreads library -lpthreads... no
# checking whether pthreads work without any flags... no
# checking whether pthreads work with -Kthread... no
# checking whether pthreads work with -kthread... no
# checking for the pthreads library -llthread... no
# checking whether pthreads work with -pthread... yes
# checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
# checking if more special flags are required for pthreads... no
# checking for PTHREAD_PRIO_INHERIT... yes
# checking that generated files are newer than configure... done
# configure: creating ./config.status
# config.status: creating Makefile
# config.status: creating libpcre2-8.pc
# config.status: creating libpcre2-16.pc
# config.status: creating libpcre2-32.pc
# config.status: creating libpcre2-posix.pc
# config.status: creating pcre2-config
# config.status: creating src/pcre2.h
# config.status: creating src/config.h
# config.status: executing depfiles commands
# config.status: executing libtool commands
# config.status: executing script-chmod commands
# config.status: executing delete-old-chartables commands
#
# pcre2-10.21 configuration summary:
#
# Install prefix .................. : /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2
# C preprocessor .................. : clang -E
# C compiler ...................... : clang
# Linker .......................... : /usr/bin/ld -m elf_x86_64
# C preprocessor flags ............ :
# C compiler flags ................ : -pthread -pipe -funsigned-char -Wl,-export-dynamic -fvisibility=hidden
# Linker flags .................... :
# Extra libraries ................. :
#
# Build 8-bit pcre2 library ....... : yes
# Build 16-bit pcre2 library ...... : no
# Build 32-bit pcre2 library ...... : no
# Include debugging code .......... : no
# Enable JIT compiling support .... : yes
# Enable Unicode support .......... : no
# Newline char/sequence ........... : lf
# \R matches only ANYCRLF ......... : no
# \C is disabled .................. : no
# EBCDIC coding ................... : no
# EBCDIC code for NL .............. : n/a
# Rebuild char tables ............. : no
# Use stack recursion ............. : yes
# Internal link size .............. : 2
# Nested parentheses limit ........ : 250
# Match limit ..................... : 10000000
# Match limit recursion ........... : MATCH_LIMIT
# Build shared libs ............... : no
# Build static libs ............... : yes
# Use JIT in pcre2grep ............ : yes
# Buffer size for pcre2grep ....... : 20480
# Link pcre2grep with libz ........ : no
# Link pcre2grep with libbz2 ...... : no
# Link pcre2test with libedit ..... : no
# Link pcre2test with libreadline . : no
# Valgrind support ................ : no
# Code coverage ................... : no
#
# compiling PCRE2 regex library
# rm -f src/pcre2_chartables.c
# ln -s /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2-10.21/src/pcre2_chartables.c.dist /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2-10.21/src/pcre2_chartables.c
# make all-am
# make[1]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2-10.21'
# CC src/libpcre2_8_la-pcre2_auto_possess.lo
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# CC src/libpcre2_8_la-pcre2_compile.lo
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# CC src/libpcre2_8_la-pcre2_config.lo
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# CC src/libpcre2_8_la-pcre2_context.lo
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# CC src/libpcre2_8_la-pcre2_dfa_match.lo
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# CC src/libpcre2_8_la-pcre2_error.lo
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# CC src/libpcre2_8_la-pcre2_find_bracket.lo
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# CC src/libpcre2_8_la-pcre2_jit_compile.lo
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# CC src/libpcre2_8_la-pcre2_maketables.lo
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# CC src/libpcre2_8_la-pcre2_match.lo
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# CC src/libpcre2_8_la-pcre2_match_data.lo
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# CC src/libpcre2_8_la-pcre2_newline.lo
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# CC src/libpcre2_8_la-pcre2_ord2utf.lo
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# CC src/libpcre2_8_la-pcre2_pattern_info.lo
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# CC src/libpcre2_8_la-pcre2_serialize.lo
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# CC src/libpcre2_8_la-pcre2_string_utils.lo
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# CC src/libpcre2_8_la-pcre2_study.lo
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# CC src/libpcre2_8_la-pcre2_substitute.lo
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# CC src/libpcre2_8_la-pcre2_substring.lo
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# CC src/libpcre2_8_la-pcre2_tables.lo
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# CC src/libpcre2_8_la-pcre2_ucd.lo
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# CC src/libpcre2_8_la-pcre2_valid_utf.lo
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# CC src/libpcre2_8_la-pcre2_xclass.lo
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# CC src/libpcre2_8_la-pcre2_chartables.lo
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# CCLD libpcre2-8.la
# ar: `u' modifier ignored since `D' is the default (see `U')
# CC src/libpcre2_posix_la-pcre2posix.lo
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# CCLD libpcre2-posix.la
# ar: `u' modifier ignored since `D' is the default (see `U')
# CC src/pcre2grep-pcre2grep.o
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# CCLD pcre2grep
# CC src/pcre2test-pcre2test.o
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# CCLD pcre2test
# CC src/pcre2_jit_test-pcre2_jit_test.o
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# CCLD pcre2_jit_test
# make[1]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2-10.21'
# installing PCRE2 regex library
# make install-am
# make[1]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2-10.21'
# make[2]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2-10.21'
# /usr/bin/mkdir -p '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/lib'
# /bin/sh ./libtool --mode=install /usr/bin/install -c libpcre2-8.la libpcre2-posix.la '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/lib'
# libtool: install: /usr/bin/install -c .libs/libpcre2-8.lai /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/lib/libpcre2-8.la
# libtool: install: /usr/bin/install -c .libs/libpcre2-posix.lai /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/lib/libpcre2-posix.la
# libtool: install: /usr/bin/install -c .libs/libpcre2-8.a /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/lib/libpcre2-8.a
# libtool: install: chmod 644 /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/lib/libpcre2-8.a
# libtool: install: ranlib /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/lib/libpcre2-8.a
# libtool: install: /usr/bin/install -c .libs/libpcre2-posix.a /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/lib/libpcre2-posix.a
# libtool: install: chmod 644 /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/lib/libpcre2-posix.a
# libtool: install: ranlib /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/lib/libpcre2-posix.a
# libtool: finish: PATH="/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/sbin" ldconfig -n /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/lib
# ----------------------------------------------------------------------
# Libraries have been installed in:
# /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/lib
#
# If you ever happen to want to link against installed libraries
# in a given directory, LIBDIR, you must either use libtool, and
# specify the full pathname of the library, or use the '-LLIBDIR'
# flag during linking and do at least one of the following:
# - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
# during execution
# - add LIBDIR to the 'LD_RUN_PATH' environment variable
# during linking
# - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
# - have your system administrator add LIBDIR to '/etc/ld.so.conf'
#
# See any operating system documentation about shared libraries for
# more information, such as the ld(1) and ld.so(8) manual pages.
# ----------------------------------------------------------------------
# /usr/bin/mkdir -p '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/bin'
# /bin/sh ./libtool --mode=install /usr/bin/install -c pcre2grep pcre2test '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/bin'
# libtool: install: /usr/bin/install -c pcre2grep /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/bin/pcre2grep
# libtool: install: /usr/bin/install -c pcre2test /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/bin/pcre2test
# /usr/bin/mkdir -p '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/bin'
# /usr/bin/install -c pcre2-config '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/bin'
# /usr/bin/mkdir -p '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/share/doc/pcre2'
# /usr/bin/install -c -m 644 AUTHORS COPYING ChangeLog LICENCE NEWS README doc/pcre2.txt doc/pcre2-config.txt doc/pcre2grep.txt doc/pcre2test.txt '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/share/doc/pcre2'
# /usr/bin/mkdir -p '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/share/doc/pcre2/html'
# /usr/bin/install -c -m 644 doc/html/NON-AUTOTOOLS-BUILD.txt doc/html/README.txt doc/html/index.html doc/html/pcre2-config.html doc/html/pcre2.html doc/html/pcre2_callout_enumerate.html doc/html/pcre2_code_free.html doc/html/pcre2_compile.html doc/html/pcre2_compile_context_copy.html doc/html/pcre2_compile_context_create.html doc/html/pcre2_compile_context_free.html doc/html/pcre2_config.html doc/html/pcre2_dfa_match.html doc/html/pcre2_general_context_copy.html doc/html/pcre2_general_context_create.html doc/html/pcre2_general_context_free.html doc/html/pcre2_get_error_message.html doc/html/pcre2_get_mark.html doc/html/pcre2_get_ovector_count.html doc/html/pcre2_get_ovector_pointer.html doc/html/pcre2_get_startchar.html doc/html/pcre2_jit_compile.html doc/html/pcre2_jit_free_unused_memory.html doc/html/pcre2_jit_match.html doc/html/pcre2_jit_stack_assign.html doc/html/pcre2_jit_stack_create.html doc/html/pcre2_jit_stack_free.html doc/html/pcre2_maketables.html doc/html/pcre2_match.html doc/html/pcre2_match_context_copy.html doc/html/pcre2_match_context_create.html doc/html/pcre2_match_context_free.html doc/html/pcre2_match_data_create.html doc/html/pcre2_match_data_create_from_pattern.html doc/html/pcre2_match_data_free.html doc/html/pcre2_pattern_info.html doc/html/pcre2_serialize_decode.html doc/html/pcre2_serialize_encode.html doc/html/pcre2_serialize_free.html doc/html/pcre2_serialize_get_number_of_codes.html '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/share/doc/pcre2/html'
# /usr/bin/install -c -m 644 doc/html/pcre2_set_bsr.html doc/html/pcre2_set_callout.html doc/html/pcre2_set_character_tables.html doc/html/pcre2_set_compile_recursion_guard.html doc/html/pcre2_set_match_limit.html doc/html/pcre2_set_offset_limit.html doc/html/pcre2_set_newline.html doc/html/pcre2_set_parens_nest_limit.html doc/html/pcre2_set_recursion_limit.html doc/html/pcre2_set_recursion_memory_management.html doc/html/pcre2_substitute.html doc/html/pcre2_substring_copy_byname.html doc/html/pcre2_substring_copy_bynumber.html doc/html/pcre2_substring_free.html doc/html/pcre2_substring_get_byname.html doc/html/pcre2_substring_get_bynumber.html doc/html/pcre2_substring_length_byname.html doc/html/pcre2_substring_length_bynumber.html doc/html/pcre2_substring_list_free.html doc/html/pcre2_substring_list_get.html doc/html/pcre2_substring_nametable_scan.html doc/html/pcre2_substring_number_from_name.html doc/html/pcre2api.html doc/html/pcre2build.html doc/html/pcre2callout.html doc/html/pcre2compat.html doc/html/pcre2demo.html doc/html/pcre2grep.html doc/html/pcre2jit.html doc/html/pcre2limits.html doc/html/pcre2matching.html doc/html/pcre2partial.html doc/html/pcre2pattern.html doc/html/pcre2perform.html doc/html/pcre2posix.html doc/html/pcre2sample.html doc/html/pcre2serialize.html doc/html/pcre2stack.html doc/html/pcre2syntax.html doc/html/pcre2test.html '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/share/doc/pcre2/html'
# /usr/bin/install -c -m 644 doc/html/pcre2unicode.html '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/share/doc/pcre2/html'
# /usr/bin/mkdir -p '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include'
# /usr/bin/install -c -m 644 src/pcre2posix.h '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include'
# /usr/bin/mkdir -p '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/share/man/man1'
# /usr/bin/install -c -m 644 doc/pcre2-config.1 doc/pcre2grep.1 doc/pcre2test.1 '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/share/man/man1'
# /usr/bin/mkdir -p '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/share/man/man3'
# /usr/bin/install -c -m 644 doc/pcre2.3 doc/pcre2_callout_enumerate.3 doc/pcre2_code_free.3 doc/pcre2_compile.3 doc/pcre2_compile_context_copy.3 doc/pcre2_compile_context_create.3 doc/pcre2_compile_context_free.3 doc/pcre2_config.3 doc/pcre2_dfa_match.3 doc/pcre2_general_context_copy.3 doc/pcre2_general_context_create.3 doc/pcre2_general_context_free.3 doc/pcre2_get_error_message.3 doc/pcre2_get_mark.3 doc/pcre2_get_ovector_count.3 doc/pcre2_get_ovector_pointer.3 doc/pcre2_get_startchar.3 doc/pcre2_jit_compile.3 doc/pcre2_jit_free_unused_memory.3 doc/pcre2_jit_match.3 doc/pcre2_jit_stack_assign.3 doc/pcre2_jit_stack_create.3 doc/pcre2_jit_stack_free.3 doc/pcre2_maketables.3 doc/pcre2_match.3 doc/pcre2_match_context_copy.3 doc/pcre2_match_context_create.3 doc/pcre2_match_context_free.3 doc/pcre2_match_data_create.3 doc/pcre2_match_data_create_from_pattern.3 doc/pcre2_match_data_free.3 doc/pcre2_pattern_info.3 doc/pcre2_serialize_decode.3 doc/pcre2_serialize_encode.3 doc/pcre2_serialize_free.3 doc/pcre2_serialize_get_number_of_codes.3 doc/pcre2_set_bsr.3 doc/pcre2_set_callout.3 doc/pcre2_set_character_tables.3 doc/pcre2_set_compile_recursion_guard.3 '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/share/man/man3'
# /usr/bin/install -c -m 644 doc/pcre2_set_match_limit.3 doc/pcre2_set_offset_limit.3 doc/pcre2_set_newline.3 doc/pcre2_set_parens_nest_limit.3 doc/pcre2_set_recursion_limit.3 doc/pcre2_set_recursion_memory_management.3 doc/pcre2_substitute.3 doc/pcre2_substring_copy_byname.3 doc/pcre2_substring_copy_bynumber.3 doc/pcre2_substring_free.3 doc/pcre2_substring_get_byname.3 doc/pcre2_substring_get_bynumber.3 doc/pcre2_substring_length_byname.3 doc/pcre2_substring_length_bynumber.3 doc/pcre2_substring_list_free.3 doc/pcre2_substring_list_get.3 doc/pcre2_substring_nametable_scan.3 doc/pcre2_substring_number_from_name.3 doc/pcre2api.3 doc/pcre2build.3 doc/pcre2callout.3 doc/pcre2compat.3 doc/pcre2demo.3 doc/pcre2jit.3 doc/pcre2limits.3 doc/pcre2matching.3 doc/pcre2partial.3 doc/pcre2pattern.3 doc/pcre2perform.3 doc/pcre2posix.3 doc/pcre2sample.3 doc/pcre2serialize.3 doc/pcre2stack.3 doc/pcre2syntax.3 doc/pcre2unicode.3 '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/share/man/man3'
# /usr/bin/mkdir -p '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include'
# /usr/bin/install -c -m 644 src/pcre2.h '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include'
# /usr/bin/mkdir -p '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/lib/pkgconfig'
# /usr/bin/install -c -m 644 libpcre2-8.pc libpcre2-posix.pc '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/lib/pkgconfig'
# make[2]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2-10.21'
# make[1]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2-10.21'
# extracting c-ares resolver library
# configuring c-ares library
# checking whether to enable maintainer-specific portions of Makefiles... no
# checking whether to enable debug build options... no
# checking whether to enable compiler optimizer... not specified (assuming yes)
# checking whether to enable strict compiler warnings... no
# checking whether to enable compiler warnings as errors... no
# checking whether to enable curl debug memory tracking... no
# checking whether to enable hiding of library internal symbols... yes
# checking for path separator... :
# checking for sed... /usr/bin/sed
# checking for grep... /usr/bin/grep
# checking for egrep... /usr/bin/grep -E
# checking for ar... /usr/bin/ar
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking for a BSD-compatible install... /usr/bin/install -c
# checking for gcc... clang
# checking whether the C compiler works... yes
# checking for C compiler default output file name... a.out
# checking for suffix of executables...
# checking whether we are cross compiling... no
# checking for suffix of object files... o
# checking whether we are using the GNU C compiler... yes
# checking whether clang accepts -g... yes
# checking for clang option to accept ISO C89... none needed
# checking whether clang and cc understand -c and -o together... yes
# checking how to run the C preprocessor... clang -E
# checking whether build environment is sane... yes
# checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
# checking for gawk... gawk
# checking whether make sets $(MAKE)... yes
# checking for style of include used by make... GNU
# checking dependency style of clang... gcc3
# checking for grep that handles long lines and -e... (cached) /usr/bin/grep
# checking for egrep... /usr/bin/grep -E
# checking if OS is AIX (to define _ALL_SOURCE)... no
# checking if _THREAD_SAFE is already defined... no
# checking if _THREAD_SAFE is actually needed... no
# checking if _THREAD_SAFE is onwards defined... no
# checking if _REENTRANT is already defined... no
# checking if _REENTRANT is actually needed... no
# checking if _REENTRANT is onwards defined... no
# checking for special C compiler options needed for large files... no
# checking for _FILE_OFFSET_BITS value needed for large files... no
# checking how to print strings... printf
# checking for a sed that does not truncate output... (cached) /usr/bin/sed
# checking for fgrep... /usr/bin/grep -F
# checking for ld used by clang... /usr/bin/ld
# checking if the linker (/usr/bin/ld) is GNU ld... yes
# checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
# checking the name lister (/usr/bin/nm -B) interface... BSD nm
# checking whether ln -s works... yes
# checking the maximum length of command line arguments... 1572864
# checking whether the shell understands some XSI constructs... yes
# checking whether the shell understands "+="... yes
# checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
# checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
# checking for /usr/bin/ld option to reload object files... -r
# checking for objdump... objdump
# checking how to recognize dependent libraries... pass_all
# checking for dlltool... no
# checking how to associate runtime and link libraries... printf %s\n
# checking for archiver @FILE support... @
# checking for strip... strip
# checking for ranlib... ranlib
# checking command to parse /usr/bin/nm -B output from clang object... ok
# checking for sysroot... no
# checking for mt... no
# checking if : is a manifest tool... no
# checking for ANSI C header files... yes
# checking for sys/types.h... yes
# checking for sys/stat.h... yes
# checking for stdlib.h... yes
# checking for string.h... yes
# checking for memory.h... yes
# checking for strings.h... yes
# checking for inttypes.h... yes
# checking for stdint.h... yes
# checking for unistd.h... yes
# checking for dlfcn.h... yes
# checking for objdir... .libs
# checking if clang supports -fno-rtti -fno-exceptions... yes
# checking for clang option to produce PIC... -fPIC -DPIC
# checking if clang PIC flag -fPIC -DPIC works... yes
# checking if clang static flag -static works... no
# checking if clang supports -c -o file.o... yes
# checking if clang supports -c -o file.o... (cached) yes
# checking whether the clang linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
# checking dynamic linker characteristics... GNU/Linux ld.so
# checking how to hardcode library paths into programs... immediate
# checking whether stripping libraries is possible... yes
# checking if libtool supports shared libraries... yes
# checking whether to build shared libraries... no
# checking whether to build static libraries... yes
# checking whether to build shared libraries with -version-info... yes
# checking whether to build shared libraries with -no-undefined... no
# checking whether to build shared libraries with -mimpure-text... no
# checking whether to build shared libraries with PIC... yes
# checking whether to build static libraries with PIC... yes
# checking whether to build shared libraries only... no
# checking whether to build static libraries only... yes
# checking if compiler is DEC/Compaq/HP C... no
# checking if compiler is HP-UX C... no
# checking if compiler is IBM C... no
# checking if compiler is Intel C... no
# checking if compiler is clang... yes
# checking if compiler is GNU C... no
# checking if compiler is LCC... no
# checking if compiler is SGI MIPSpro C... no
# checking if compiler is SGI MIPS C... no
# checking if compiler is SunPro C... no
# checking if compiler is Tiny C... no
# checking if compiler is Watcom C... no
# checking if compiler accepts some basic options... yes
# configure: compiler options added: -Qunused-arguments
# checking if compiler accepts debug disabling options... yes
# configure: compiler options added: -g0
# checking if compiler optimizer assumed setting might be used... yes
# checking if compiler accepts optimizer enabling options... yes
# configure: compiler options added: -Os
# checking if compiler halts on compilation errors... yes
# checking if compiler halts on negative sized arrays... yes
# checking if compiler halts on function prototype mismatch... yes
# checking if compiler supports hiding library internal symbols... yes
# checking for windows.h... no
# checking whether build target is a native Windows one... no
# checking if X/Open network library is required... no
# checking for gethostbyname... yes
# checking for strcasecmp... yes
# checking for windows.h... (cached) no
# checking for winsock.h... (cached) no
# checking for winsock2.h... (cached) no
# checking for connect in libraries... yes
# checking whether time.h and sys/time.h may both be included... yes
# checking for sys/types.h... (cached) yes
# checking sys/time.h usability... yes
# checking sys/time.h presence... yes
# checking for sys/time.h... yes
# checking time.h usability... yes
# checking time.h presence... yes
# checking for time.h... yes
# checking for monotonic clock_gettime... yes
# checking for clock_gettime in libraries... no additional lib required
# checking if monotonic clock_gettime works... yes
# checking whether to use libgcc... no
# checking for ANSI C header files... (cached) yes
# checking for malloc.h... yes
# checking for memory.h... (cached) yes
# checking for sys/types.h... (cached) yes
# checking for sys/time.h... (cached) yes
# checking for sys/select.h... yes
# checking for sys/socket.h... yes
# checking for sys/ioctl.h... yes
# checking for sys/param.h... yes
# checking for sys/uio.h... yes
# checking for assert.h... yes
# checking for netdb.h... yes
# checking for netinet/in.h... yes
# checking for netinet/tcp.h... yes
# checking for net/if.h... yes
# checking for errno.h... yes
# checking for socket.h... no
# checking for strings.h... (cached) yes
# checking for stdbool.h... yes
# checking for time.h... (cached) yes
# checking for limits.h... yes
# checking for arpa/nameser.h... yes
# checking for arpa/nameser_compat.h... yes
# checking for arpa/inet.h... yes
# checking for an ANSI C-conforming const... yes
# checking for size_t... yes
# checking whether time.h and sys/time.h may both be included... (cached) yes
# checking for sys/types.h... (cached) yes
# checking for sys/time.h... (cached) yes
# checking for time.h... (cached) yes
# checking for sys/socket.h... (cached) yes
# checking for struct timeval... yes
# checking size of size_t... 8
# checking size of long... 8
# checking size of int... 4
# checking size of short... 2
# checking size of time_t... 8
# checking for long long... yes
# checking if numberLL works... yes
# checking for ssize_t... yes
# checking for bool... yes
# checking for windows.h... (cached) no
# checking for winsock2.h... (cached) no
# checking for ws2tcpip.h... (cached) no
# checking for sys/types.h... (cached) yes
# checking for sys/socket.h... (cached) yes
# checking for ares_socklen_t data type... socklen_t
# checking size of ares_socklen_t... 4
# checking for in_addr_t... yes
# checking for struct sockaddr_storage... yes
# checking signal.h usability... yes
# checking signal.h presence... yes
# checking for signal.h... yes
# checking for sig_atomic_t... yes
# checking if sig_atomic_t is already defined as volatile... no
# checking return type of signal handlers... void
# checking for sys/types.h... (cached) yes
# checking for sys/socket.h... (cached) yes
# checking for recv... yes
# checking types of args and return type for recv... int,void *,size_t,int,ssize_t
# checking for sys/types.h... (cached) yes
# checking for sys/socket.h... (cached) yes
# checking for recvfrom... yes
# checking types of args and return type for recvfrom... int,void *,size_t,int,struct sockaddr *,socklen_t *,ssize_t
# checking for sys/types.h... (cached) yes
# checking for sys/socket.h... (cached) yes
# checking for send... yes
# checking types of args and return type for send... int,const void *,size_t,int,ssize_t
# checking for sys/types.h... (cached) yes
# checking for sys/socket.h... (cached) yes
# checking for MSG_NOSIGNAL... yes
# checking for sys/types.h... (cached) yes
# checking for socket.h... (cached) no
# checking if closesocket can be linked... no
# checking if closesocket might be used... no
# checking if CloseSocket can be linked... no
# checking if CloseSocket might be used... no
# checking if connect can be linked... yes
# checking if connect is prototyped... yes
# checking if connect is compilable... yes
# checking if connect usage allowed... yes
# checking if connect might be used... yes
# checking for sys/types.h... (cached) yes
# checking for unistd.h... (cached) yes
# checking for fcntl.h... yes
# checking if fcntl can be linked... yes
# checking if fcntl is prototyped... yes
# checking if fcntl is compilable... yes
# checking if fcntl usage allowed... yes
# checking if fcntl might be used... yes
# checking if fcntl O_NONBLOCK is compilable... yes
# checking if fcntl O_NONBLOCK usage allowed... yes
# checking if fcntl O_NONBLOCK might be used... yes
# checking for sys/types.h... (cached) yes
# checking for netdb.h... (cached) yes
# checking if freeaddrinfo can be linked... yes
# checking if freeaddrinfo is prototyped... yes
# checking if freeaddrinfo is compilable... yes
# checking if freeaddrinfo usage allowed... yes
# checking if freeaddrinfo might be used... yes
# checking for sys/types.h... (cached) yes
# checking for stdlib.h... (cached) yes
# checking for sys/types.h... (cached) yes
# checking for string.h... (cached) yes
# checking for strings.h... (cached) yes
# checking if getaddrinfo can be linked... yes
# checking if getaddrinfo is prototyped... yes
# checking if getaddrinfo is compilable... yes
# checking if getaddrinfo seems to work... yes
# checking if getaddrinfo usage allowed... yes
# checking if getaddrinfo might be used... yes
# checking if getaddrinfo is threadsafe... yes
# checking if getenv can be linked... yes
# checking if getenv is prototyped... yes
# checking if getenv is compilable... yes
# checking if getenv usage allowed... yes
# checking if getenv might be used... yes
# checking if gethostbyaddr can be linked... yes
# checking if gethostbyaddr is prototyped... yes
# checking if gethostbyaddr is compilable... yes
# checking if gethostbyaddr usage allowed... yes
# checking if gethostbyaddr might be used... yes
# checking if gethostbyname can be linked... yes
# checking if gethostbyname is prototyped... yes
# checking if gethostbyname is compilable... yes
# checking if gethostbyname usage allowed... yes
# checking if gethostbyname might be used... yes
# checking for sys/types.h... (cached) yes
# checking for unistd.h... (cached) yes
# checking if gethostname can be linked... yes
# checking if gethostname is prototyped... yes
# checking if gethostname is compilable... yes
# checking for gethostname arg 2 data type... size_t
# checking if gethostname usage allowed... yes
# checking if gethostname might be used... yes
# checking if getservbyport_r can be linked... yes
# checking if getservbyport_r is prototyped... yes
# checking if getservbyport_r takes 4 args.... no
# checking if getservbyport_r takes 5 args.... no
# checking if getservbyport_r takes 6 args.... yes
# checking if getservbyport_r is compilable... yes
# checking if getservbyport_r usage allowed... yes
# checking if getservbyport_r might be used... yes
# checking for sys/types.h... (cached) yes
# checking for sys/socket.h... (cached) yes
# checking for netinet/in.h... (cached) yes
# checking for arpa/inet.h... (cached) yes
# checking if inet_net_pton can be linked... no
# checking if inet_net_pton might be used... no
# checking if inet_ntop can be linked... yes
# checking if inet_ntop is prototyped... yes
# checking if inet_ntop is compilable... yes
# checking if inet_ntop seems to work... yes
# checking if inet_ntop usage allowed... yes
# checking if inet_ntop might be used... yes
# checking if inet_pton can be linked... yes
# checking if inet_pton is prototyped... yes
# checking if inet_pton is compilable... yes
# checking if inet_pton seems to work... yes
# checking if inet_pton usage allowed... yes
# checking if inet_pton might be used... yes
# checking for sys/types.h... (cached) yes
# checking for unistd.h... (cached) yes
# checking for sys/socket.h... (cached) yes
# checking for sys/ioctl.h... (cached) yes
# checking for stropts.h... yes
# checking if ioctl can be linked... yes
# checking if ioctl is prototyped... yes
# checking if ioctl is compilable... yes
# checking if ioctl usage allowed... yes
# checking if ioctl might be used... yes
# checking if ioctl FIONBIO is compilable... yes
# checking if ioctl FIONBIO usage allowed... yes
# checking if ioctl FIONBIO might be used... yes
# checking if ioctl SIOCGIFADDR is compilable... yes
# checking if ioctl SIOCGIFADDR usage allowed... yes
# checking if ioctl SIOCGIFADDR might be used... yes
# checking if ioctlsocket can be linked... no
# checking if ioctlsocket might be used... no
# checking if IoctlSocket can be linked... no
# checking if IoctlSocket might be used... no
# checking if setsockopt can be linked... yes
# checking if setsockopt is prototyped... yes
# checking if setsockopt is compilable... yes
# checking if setsockopt usage allowed... yes
# checking if setsockopt might be used... yes
# checking if setsockopt SO_NONBLOCK is compilable... no
# checking if setsockopt SO_NONBLOCK might be used... no
# checking if socket can be linked... yes
# checking if socket is prototyped... yes
# checking if socket is compilable... yes
# checking if socket usage allowed... yes
# checking if socket might be used... yes
# checking if strcasecmp can be linked... yes
# checking if strcasecmp is prototyped... yes
# checking if strcasecmp is compilable... yes
# checking if strcasecmp usage allowed... yes
# checking if strcasecmp might be used... yes
# checking if strcmpi can be linked... no
# checking if strcmpi might be used... no
# checking if strdup can be linked... yes
# checking if strdup is prototyped... yes
# checking if strdup is compilable... yes
# checking if strdup usage allowed... yes
# checking if strdup might be used... yes
# checking if stricmp can be linked... no
# checking if stricmp might be used... no
# checking if strncasecmp can be linked... yes
# checking if strncasecmp is prototyped... yes
# checking if strncasecmp is compilable... yes
# checking if strncasecmp usage allowed... yes
# checking if strncasecmp might be used... yes
# checking if strncmpi can be linked... no
# checking if strncmpi might be used... no
# checking if strnicmp can be linked... no
# checking if strnicmp might be used... no
# checking for sys/types.h... (cached) yes
# checking for sys/uio.h... (cached) yes
# checking if writev can be linked... yes
# checking if writev is prototyped... yes
# checking if writev is compilable... yes
# checking if writev usage allowed... yes
# checking if writev might be used... yes
# checking for PF_INET6... yes
# checking for AF_INET6... yes
# checking for struct in6_addr... yes
# checking for struct sockaddr_in6... yes
# checking for struct sockaddr_in6.sin6_scope_id... yes
# checking for struct addrinfo.ai_flags... yes
# checking for bitncmp... no
# checking deeper for bitncmp... but still no
# checking for gettimeofday... yes
# checking for if_indextoname... yes
# checking size of struct in6_addr... 16
# checking size of struct in_addr... 4
# checking for sys/types.h... (cached) yes
# checking for sys/socket.h... (cached) yes
# checking for netdb.h... (cached) yes
# checking for getnameinfo... yes
# checking types of arguments for getnameinfo... const struct sockaddr *,socklen_t,socklen_t,int
# checking whether byte ordering is bigendian... no
# checking for "/dev/urandom"... yes
# checking whether to enable non-blocking communications... yes
# checking how to set a socket into non-blocking mode... fcntl O_NONBLOCK
# checking whether hiding of library internal symbols will actually happen... yes
# configure: creating ./config.status
# config.status: creating Makefile
# config.status: creating libcares.pc
# config.status: creating ares_config.h
# config.status: creating ares_build.h
# config.status: executing depfiles commands
# config.status: executing libtool commands
# compiling c-ares resolver library
# make all-am
# make[1]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares-1.10.0'
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares__close_sockets.lo -MD -MP -MF .deps/libcares_la-ares__close_sockets.Tpo -c -o libcares_la-ares__close_sockets.lo `test -f 'ares__close_sockets.c' || echo './'`ares__close_sockets.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares__close_sockets.lo -MD -MP -MF .deps/libcares_la-ares__close_sockets.Tpo -c ares__close_sockets.c -fPIC -DPIC -o libcares_la-ares__close_sockets.o
# mv -f .deps/libcares_la-ares__close_sockets.Tpo .deps/libcares_la-ares__close_sockets.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares__get_hostent.lo -MD -MP -MF .deps/libcares_la-ares__get_hostent.Tpo -c -o libcares_la-ares__get_hostent.lo `test -f 'ares__get_hostent.c' || echo './'`ares__get_hostent.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares__get_hostent.lo -MD -MP -MF .deps/libcares_la-ares__get_hostent.Tpo -c ares__get_hostent.c -fPIC -DPIC -o libcares_la-ares__get_hostent.o
# mv -f .deps/libcares_la-ares__get_hostent.Tpo .deps/libcares_la-ares__get_hostent.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares__read_line.lo -MD -MP -MF .deps/libcares_la-ares__read_line.Tpo -c -o libcares_la-ares__read_line.lo `test -f 'ares__read_line.c' || echo './'`ares__read_line.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares__read_line.lo -MD -MP -MF .deps/libcares_la-ares__read_line.Tpo -c ares__read_line.c -fPIC -DPIC -o libcares_la-ares__read_line.o
# mv -f .deps/libcares_la-ares__read_line.Tpo .deps/libcares_la-ares__read_line.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares__timeval.lo -MD -MP -MF .deps/libcares_la-ares__timeval.Tpo -c -o libcares_la-ares__timeval.lo `test -f 'ares__timeval.c' || echo './'`ares__timeval.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares__timeval.lo -MD -MP -MF .deps/libcares_la-ares__timeval.Tpo -c ares__timeval.c -fPIC -DPIC -o libcares_la-ares__timeval.o
# mv -f .deps/libcares_la-ares__timeval.Tpo .deps/libcares_la-ares__timeval.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_cancel.lo -MD -MP -MF .deps/libcares_la-ares_cancel.Tpo -c -o libcares_la-ares_cancel.lo `test -f 'ares_cancel.c' || echo './'`ares_cancel.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_cancel.lo -MD -MP -MF .deps/libcares_la-ares_cancel.Tpo -c ares_cancel.c -fPIC -DPIC -o libcares_la-ares_cancel.o
# mv -f .deps/libcares_la-ares_cancel.Tpo .deps/libcares_la-ares_cancel.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_data.lo -MD -MP -MF .deps/libcares_la-ares_data.Tpo -c -o libcares_la-ares_data.lo `test -f 'ares_data.c' || echo './'`ares_data.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_data.lo -MD -MP -MF .deps/libcares_la-ares_data.Tpo -c ares_data.c -fPIC -DPIC -o libcares_la-ares_data.o
# mv -f .deps/libcares_la-ares_data.Tpo .deps/libcares_la-ares_data.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_destroy.lo -MD -MP -MF .deps/libcares_la-ares_destroy.Tpo -c -o libcares_la-ares_destroy.lo `test -f 'ares_destroy.c' || echo './'`ares_destroy.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_destroy.lo -MD -MP -MF .deps/libcares_la-ares_destroy.Tpo -c ares_destroy.c -fPIC -DPIC -o libcares_la-ares_destroy.o
# mv -f .deps/libcares_la-ares_destroy.Tpo .deps/libcares_la-ares_destroy.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_expand_name.lo -MD -MP -MF .deps/libcares_la-ares_expand_name.Tpo -c -o libcares_la-ares_expand_name.lo `test -f 'ares_expand_name.c' || echo './'`ares_expand_name.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_expand_name.lo -MD -MP -MF .deps/libcares_la-ares_expand_name.Tpo -c ares_expand_name.c -fPIC -DPIC -o libcares_la-ares_expand_name.o
# mv -f .deps/libcares_la-ares_expand_name.Tpo .deps/libcares_la-ares_expand_name.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_expand_string.lo -MD -MP -MF .deps/libcares_la-ares_expand_string.Tpo -c -o libcares_la-ares_expand_string.lo `test -f 'ares_expand_string.c' || echo './'`ares_expand_string.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_expand_string.lo -MD -MP -MF .deps/libcares_la-ares_expand_string.Tpo -c ares_expand_string.c -fPIC -DPIC -o libcares_la-ares_expand_string.o
# mv -f .deps/libcares_la-ares_expand_string.Tpo .deps/libcares_la-ares_expand_string.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_fds.lo -MD -MP -MF .deps/libcares_la-ares_fds.Tpo -c -o libcares_la-ares_fds.lo `test -f 'ares_fds.c' || echo './'`ares_fds.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_fds.lo -MD -MP -MF .deps/libcares_la-ares_fds.Tpo -c ares_fds.c -fPIC -DPIC -o libcares_la-ares_fds.o
# mv -f .deps/libcares_la-ares_fds.Tpo .deps/libcares_la-ares_fds.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_free_hostent.lo -MD -MP -MF .deps/libcares_la-ares_free_hostent.Tpo -c -o libcares_la-ares_free_hostent.lo `test -f 'ares_free_hostent.c' || echo './'`ares_free_hostent.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_free_hostent.lo -MD -MP -MF .deps/libcares_la-ares_free_hostent.Tpo -c ares_free_hostent.c -fPIC -DPIC -o libcares_la-ares_free_hostent.o
# mv -f .deps/libcares_la-ares_free_hostent.Tpo .deps/libcares_la-ares_free_hostent.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_free_string.lo -MD -MP -MF .deps/libcares_la-ares_free_string.Tpo -c -o libcares_la-ares_free_string.lo `test -f 'ares_free_string.c' || echo './'`ares_free_string.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_free_string.lo -MD -MP -MF .deps/libcares_la-ares_free_string.Tpo -c ares_free_string.c -fPIC -DPIC -o libcares_la-ares_free_string.o
# mv -f .deps/libcares_la-ares_free_string.Tpo .deps/libcares_la-ares_free_string.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_getenv.lo -MD -MP -MF .deps/libcares_la-ares_getenv.Tpo -c -o libcares_la-ares_getenv.lo `test -f 'ares_getenv.c' || echo './'`ares_getenv.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_getenv.lo -MD -MP -MF .deps/libcares_la-ares_getenv.Tpo -c ares_getenv.c -fPIC -DPIC -o libcares_la-ares_getenv.o
# mv -f .deps/libcares_la-ares_getenv.Tpo .deps/libcares_la-ares_getenv.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_gethostbyaddr.lo -MD -MP -MF .deps/libcares_la-ares_gethostbyaddr.Tpo -c -o libcares_la-ares_gethostbyaddr.lo `test -f 'ares_gethostbyaddr.c' || echo './'`ares_gethostbyaddr.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_gethostbyaddr.lo -MD -MP -MF .deps/libcares_la-ares_gethostbyaddr.Tpo -c ares_gethostbyaddr.c -fPIC -DPIC -o libcares_la-ares_gethostbyaddr.o
# mv -f .deps/libcares_la-ares_gethostbyaddr.Tpo .deps/libcares_la-ares_gethostbyaddr.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_gethostbyname.lo -MD -MP -MF .deps/libcares_la-ares_gethostbyname.Tpo -c -o libcares_la-ares_gethostbyname.lo `test -f 'ares_gethostbyname.c' || echo './'`ares_gethostbyname.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_gethostbyname.lo -MD -MP -MF .deps/libcares_la-ares_gethostbyname.Tpo -c ares_gethostbyname.c -fPIC -DPIC -o libcares_la-ares_gethostbyname.o
# mv -f .deps/libcares_la-ares_gethostbyname.Tpo .deps/libcares_la-ares_gethostbyname.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_getnameinfo.lo -MD -MP -MF .deps/libcares_la-ares_getnameinfo.Tpo -c -o libcares_la-ares_getnameinfo.lo `test -f 'ares_getnameinfo.c' || echo './'`ares_getnameinfo.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_getnameinfo.lo -MD -MP -MF .deps/libcares_la-ares_getnameinfo.Tpo -c ares_getnameinfo.c -fPIC -DPIC -o libcares_la-ares_getnameinfo.o
# mv -f .deps/libcares_la-ares_getnameinfo.Tpo .deps/libcares_la-ares_getnameinfo.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_getsock.lo -MD -MP -MF .deps/libcares_la-ares_getsock.Tpo -c -o libcares_la-ares_getsock.lo `test -f 'ares_getsock.c' || echo './'`ares_getsock.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_getsock.lo -MD -MP -MF .deps/libcares_la-ares_getsock.Tpo -c ares_getsock.c -fPIC -DPIC -o libcares_la-ares_getsock.o
# mv -f .deps/libcares_la-ares_getsock.Tpo .deps/libcares_la-ares_getsock.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_init.lo -MD -MP -MF .deps/libcares_la-ares_init.Tpo -c -o libcares_la-ares_init.lo `test -f 'ares_init.c' || echo './'`ares_init.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_init.lo -MD -MP -MF .deps/libcares_la-ares_init.Tpo -c ares_init.c -fPIC -DPIC -o libcares_la-ares_init.o
# mv -f .deps/libcares_la-ares_init.Tpo .deps/libcares_la-ares_init.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_library_init.lo -MD -MP -MF .deps/libcares_la-ares_library_init.Tpo -c -o libcares_la-ares_library_init.lo `test -f 'ares_library_init.c' || echo './'`ares_library_init.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_library_init.lo -MD -MP -MF .deps/libcares_la-ares_library_init.Tpo -c ares_library_init.c -fPIC -DPIC -o libcares_la-ares_library_init.o
# mv -f .deps/libcares_la-ares_library_init.Tpo .deps/libcares_la-ares_library_init.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_llist.lo -MD -MP -MF .deps/libcares_la-ares_llist.Tpo -c -o libcares_la-ares_llist.lo `test -f 'ares_llist.c' || echo './'`ares_llist.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_llist.lo -MD -MP -MF .deps/libcares_la-ares_llist.Tpo -c ares_llist.c -fPIC -DPIC -o libcares_la-ares_llist.o
# mv -f .deps/libcares_la-ares_llist.Tpo .deps/libcares_la-ares_llist.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_mkquery.lo -MD -MP -MF .deps/libcares_la-ares_mkquery.Tpo -c -o libcares_la-ares_mkquery.lo `test -f 'ares_mkquery.c' || echo './'`ares_mkquery.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_mkquery.lo -MD -MP -MF .deps/libcares_la-ares_mkquery.Tpo -c ares_mkquery.c -fPIC -DPIC -o libcares_la-ares_mkquery.o
# mv -f .deps/libcares_la-ares_mkquery.Tpo .deps/libcares_la-ares_mkquery.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_create_query.lo -MD -MP -MF .deps/libcares_la-ares_create_query.Tpo -c -o libcares_la-ares_create_query.lo `test -f 'ares_create_query.c' || echo './'`ares_create_query.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_create_query.lo -MD -MP -MF .deps/libcares_la-ares_create_query.Tpo -c ares_create_query.c -fPIC -DPIC -o libcares_la-ares_create_query.o
# mv -f .deps/libcares_la-ares_create_query.Tpo .deps/libcares_la-ares_create_query.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_nowarn.lo -MD -MP -MF .deps/libcares_la-ares_nowarn.Tpo -c -o libcares_la-ares_nowarn.lo `test -f 'ares_nowarn.c' || echo './'`ares_nowarn.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_nowarn.lo -MD -MP -MF .deps/libcares_la-ares_nowarn.Tpo -c ares_nowarn.c -fPIC -DPIC -o libcares_la-ares_nowarn.o
# mv -f .deps/libcares_la-ares_nowarn.Tpo .deps/libcares_la-ares_nowarn.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_options.lo -MD -MP -MF .deps/libcares_la-ares_options.Tpo -c -o libcares_la-ares_options.lo `test -f 'ares_options.c' || echo './'`ares_options.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_options.lo -MD -MP -MF .deps/libcares_la-ares_options.Tpo -c ares_options.c -fPIC -DPIC -o libcares_la-ares_options.o
# mv -f .deps/libcares_la-ares_options.Tpo .deps/libcares_la-ares_options.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_parse_a_reply.lo -MD -MP -MF .deps/libcares_la-ares_parse_a_reply.Tpo -c -o libcares_la-ares_parse_a_reply.lo `test -f 'ares_parse_a_reply.c' || echo './'`ares_parse_a_reply.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_parse_a_reply.lo -MD -MP -MF .deps/libcares_la-ares_parse_a_reply.Tpo -c ares_parse_a_reply.c -fPIC -DPIC -o libcares_la-ares_parse_a_reply.o
# mv -f .deps/libcares_la-ares_parse_a_reply.Tpo .deps/libcares_la-ares_parse_a_reply.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_parse_aaaa_reply.lo -MD -MP -MF .deps/libcares_la-ares_parse_aaaa_reply.Tpo -c -o libcares_la-ares_parse_aaaa_reply.lo `test -f 'ares_parse_aaaa_reply.c' || echo './'`ares_parse_aaaa_reply.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_parse_aaaa_reply.lo -MD -MP -MF .deps/libcares_la-ares_parse_aaaa_reply.Tpo -c ares_parse_aaaa_reply.c -fPIC -DPIC -o libcares_la-ares_parse_aaaa_reply.o
# mv -f .deps/libcares_la-ares_parse_aaaa_reply.Tpo .deps/libcares_la-ares_parse_aaaa_reply.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_parse_mx_reply.lo -MD -MP -MF .deps/libcares_la-ares_parse_mx_reply.Tpo -c -o libcares_la-ares_parse_mx_reply.lo `test -f 'ares_parse_mx_reply.c' || echo './'`ares_parse_mx_reply.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_parse_mx_reply.lo -MD -MP -MF .deps/libcares_la-ares_parse_mx_reply.Tpo -c ares_parse_mx_reply.c -fPIC -DPIC -o libcares_la-ares_parse_mx_reply.o
# mv -f .deps/libcares_la-ares_parse_mx_reply.Tpo .deps/libcares_la-ares_parse_mx_reply.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_parse_naptr_reply.lo -MD -MP -MF .deps/libcares_la-ares_parse_naptr_reply.Tpo -c -o libcares_la-ares_parse_naptr_reply.lo `test -f 'ares_parse_naptr_reply.c' || echo './'`ares_parse_naptr_reply.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_parse_naptr_reply.lo -MD -MP -MF .deps/libcares_la-ares_parse_naptr_reply.Tpo -c ares_parse_naptr_reply.c -fPIC -DPIC -o libcares_la-ares_parse_naptr_reply.o
# mv -f .deps/libcares_la-ares_parse_naptr_reply.Tpo .deps/libcares_la-ares_parse_naptr_reply.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_parse_ns_reply.lo -MD -MP -MF .deps/libcares_la-ares_parse_ns_reply.Tpo -c -o libcares_la-ares_parse_ns_reply.lo `test -f 'ares_parse_ns_reply.c' || echo './'`ares_parse_ns_reply.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_parse_ns_reply.lo -MD -MP -MF .deps/libcares_la-ares_parse_ns_reply.Tpo -c ares_parse_ns_reply.c -fPIC -DPIC -o libcares_la-ares_parse_ns_reply.o
# mv -f .deps/libcares_la-ares_parse_ns_reply.Tpo .deps/libcares_la-ares_parse_ns_reply.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_parse_ptr_reply.lo -MD -MP -MF .deps/libcares_la-ares_parse_ptr_reply.Tpo -c -o libcares_la-ares_parse_ptr_reply.lo `test -f 'ares_parse_ptr_reply.c' || echo './'`ares_parse_ptr_reply.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_parse_ptr_reply.lo -MD -MP -MF .deps/libcares_la-ares_parse_ptr_reply.Tpo -c ares_parse_ptr_reply.c -fPIC -DPIC -o libcares_la-ares_parse_ptr_reply.o
# mv -f .deps/libcares_la-ares_parse_ptr_reply.Tpo .deps/libcares_la-ares_parse_ptr_reply.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_parse_soa_reply.lo -MD -MP -MF .deps/libcares_la-ares_parse_soa_reply.Tpo -c -o libcares_la-ares_parse_soa_reply.lo `test -f 'ares_parse_soa_reply.c' || echo './'`ares_parse_soa_reply.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_parse_soa_reply.lo -MD -MP -MF .deps/libcares_la-ares_parse_soa_reply.Tpo -c ares_parse_soa_reply.c -fPIC -DPIC -o libcares_la-ares_parse_soa_reply.o
# mv -f .deps/libcares_la-ares_parse_soa_reply.Tpo .deps/libcares_la-ares_parse_soa_reply.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_parse_srv_reply.lo -MD -MP -MF .deps/libcares_la-ares_parse_srv_reply.Tpo -c -o libcares_la-ares_parse_srv_reply.lo `test -f 'ares_parse_srv_reply.c' || echo './'`ares_parse_srv_reply.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_parse_srv_reply.lo -MD -MP -MF .deps/libcares_la-ares_parse_srv_reply.Tpo -c ares_parse_srv_reply.c -fPIC -DPIC -o libcares_la-ares_parse_srv_reply.o
# mv -f .deps/libcares_la-ares_parse_srv_reply.Tpo .deps/libcares_la-ares_parse_srv_reply.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_parse_txt_reply.lo -MD -MP -MF .deps/libcares_la-ares_parse_txt_reply.Tpo -c -o libcares_la-ares_parse_txt_reply.lo `test -f 'ares_parse_txt_reply.c' || echo './'`ares_parse_txt_reply.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_parse_txt_reply.lo -MD -MP -MF .deps/libcares_la-ares_parse_txt_reply.Tpo -c ares_parse_txt_reply.c -fPIC -DPIC -o libcares_la-ares_parse_txt_reply.o
# mv -f .deps/libcares_la-ares_parse_txt_reply.Tpo .deps/libcares_la-ares_parse_txt_reply.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_platform.lo -MD -MP -MF .deps/libcares_la-ares_platform.Tpo -c -o libcares_la-ares_platform.lo `test -f 'ares_platform.c' || echo './'`ares_platform.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_platform.lo -MD -MP -MF .deps/libcares_la-ares_platform.Tpo -c ares_platform.c -fPIC -DPIC -o libcares_la-ares_platform.o
# mv -f .deps/libcares_la-ares_platform.Tpo .deps/libcares_la-ares_platform.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_process.lo -MD -MP -MF .deps/libcares_la-ares_process.Tpo -c -o libcares_la-ares_process.lo `test -f 'ares_process.c' || echo './'`ares_process.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_process.lo -MD -MP -MF .deps/libcares_la-ares_process.Tpo -c ares_process.c -fPIC -DPIC -o libcares_la-ares_process.o
# mv -f .deps/libcares_la-ares_process.Tpo .deps/libcares_la-ares_process.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_query.lo -MD -MP -MF .deps/libcares_la-ares_query.Tpo -c -o libcares_la-ares_query.lo `test -f 'ares_query.c' || echo './'`ares_query.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_query.lo -MD -MP -MF .deps/libcares_la-ares_query.Tpo -c ares_query.c -fPIC -DPIC -o libcares_la-ares_query.o
# mv -f .deps/libcares_la-ares_query.Tpo .deps/libcares_la-ares_query.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_search.lo -MD -MP -MF .deps/libcares_la-ares_search.Tpo -c -o libcares_la-ares_search.lo `test -f 'ares_search.c' || echo './'`ares_search.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_search.lo -MD -MP -MF .deps/libcares_la-ares_search.Tpo -c ares_search.c -fPIC -DPIC -o libcares_la-ares_search.o
# mv -f .deps/libcares_la-ares_search.Tpo .deps/libcares_la-ares_search.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_send.lo -MD -MP -MF .deps/libcares_la-ares_send.Tpo -c -o libcares_la-ares_send.lo `test -f 'ares_send.c' || echo './'`ares_send.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_send.lo -MD -MP -MF .deps/libcares_la-ares_send.Tpo -c ares_send.c -fPIC -DPIC -o libcares_la-ares_send.o
# mv -f .deps/libcares_la-ares_send.Tpo .deps/libcares_la-ares_send.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_strcasecmp.lo -MD -MP -MF .deps/libcares_la-ares_strcasecmp.Tpo -c -o libcares_la-ares_strcasecmp.lo `test -f 'ares_strcasecmp.c' || echo './'`ares_strcasecmp.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_strcasecmp.lo -MD -MP -MF .deps/libcares_la-ares_strcasecmp.Tpo -c ares_strcasecmp.c -fPIC -DPIC -o libcares_la-ares_strcasecmp.o
# mv -f .deps/libcares_la-ares_strcasecmp.Tpo .deps/libcares_la-ares_strcasecmp.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_strdup.lo -MD -MP -MF .deps/libcares_la-ares_strdup.Tpo -c -o libcares_la-ares_strdup.lo `test -f 'ares_strdup.c' || echo './'`ares_strdup.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_strdup.lo -MD -MP -MF .deps/libcares_la-ares_strdup.Tpo -c ares_strdup.c -fPIC -DPIC -o libcares_la-ares_strdup.o
# mv -f .deps/libcares_la-ares_strdup.Tpo .deps/libcares_la-ares_strdup.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_strerror.lo -MD -MP -MF .deps/libcares_la-ares_strerror.Tpo -c -o libcares_la-ares_strerror.lo `test -f 'ares_strerror.c' || echo './'`ares_strerror.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_strerror.lo -MD -MP -MF .deps/libcares_la-ares_strerror.Tpo -c ares_strerror.c -fPIC -DPIC -o libcares_la-ares_strerror.o
# mv -f .deps/libcares_la-ares_strerror.Tpo .deps/libcares_la-ares_strerror.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_timeout.lo -MD -MP -MF .deps/libcares_la-ares_timeout.Tpo -c -o libcares_la-ares_timeout.lo `test -f 'ares_timeout.c' || echo './'`ares_timeout.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_timeout.lo -MD -MP -MF .deps/libcares_la-ares_timeout.Tpo -c ares_timeout.c -fPIC -DPIC -o libcares_la-ares_timeout.o
# mv -f .deps/libcares_la-ares_timeout.Tpo .deps/libcares_la-ares_timeout.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_version.lo -MD -MP -MF .deps/libcares_la-ares_version.Tpo -c -o libcares_la-ares_version.lo `test -f 'ares_version.c' || echo './'`ares_version.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_version.lo -MD -MP -MF .deps/libcares_la-ares_version.Tpo -c ares_version.c -fPIC -DPIC -o libcares_la-ares_version.o
# mv -f .deps/libcares_la-ares_version.Tpo .deps/libcares_la-ares_version.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_writev.lo -MD -MP -MF .deps/libcares_la-ares_writev.Tpo -c -o libcares_la-ares_writev.lo `test -f 'ares_writev.c' || echo './'`ares_writev.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-ares_writev.lo -MD -MP -MF .deps/libcares_la-ares_writev.Tpo -c ares_writev.c -fPIC -DPIC -o libcares_la-ares_writev.o
# mv -f .deps/libcares_la-ares_writev.Tpo .deps/libcares_la-ares_writev.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-bitncmp.lo -MD -MP -MF .deps/libcares_la-bitncmp.Tpo -c -o libcares_la-bitncmp.lo `test -f 'bitncmp.c' || echo './'`bitncmp.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-bitncmp.lo -MD -MP -MF .deps/libcares_la-bitncmp.Tpo -c bitncmp.c -fPIC -DPIC -o libcares_la-bitncmp.o
# mv -f .deps/libcares_la-bitncmp.Tpo .deps/libcares_la-bitncmp.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-inet_net_pton.lo -MD -MP -MF .deps/libcares_la-inet_net_pton.Tpo -c -o libcares_la-inet_net_pton.lo `test -f 'inet_net_pton.c' || echo './'`inet_net_pton.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-inet_net_pton.lo -MD -MP -MF .deps/libcares_la-inet_net_pton.Tpo -c inet_net_pton.c -fPIC -DPIC -o libcares_la-inet_net_pton.o
# mv -f .deps/libcares_la-inet_net_pton.Tpo .deps/libcares_la-inet_net_pton.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-inet_ntop.lo -MD -MP -MF .deps/libcares_la-inet_ntop.Tpo -c -o libcares_la-inet_ntop.lo `test -f 'inet_ntop.c' || echo './'`inet_ntop.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-inet_ntop.lo -MD -MP -MF .deps/libcares_la-inet_ntop.Tpo -c inet_ntop.c -fPIC -DPIC -o libcares_la-inet_ntop.o
# mv -f .deps/libcares_la-inet_ntop.Tpo .deps/libcares_la-inet_ntop.Plo
# /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-windows_port.lo -MD -MP -MF .deps/libcares_la-windows_port.Tpo -c -o libcares_la-windows_port.lo `test -f 'windows_port.c' || echo './'`windows_port.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT libcares_la-windows_port.lo -MD -MP -MF .deps/libcares_la-windows_port.Tpo -c windows_port.c -fPIC -DPIC -o libcares_la-windows_port.o
# mv -f .deps/libcares_la-windows_port.Tpo .deps/libcares_la-windows_port.Plo
# /bin/sh ./libtool --tag=CC --mode=link clang -fvisibility=hidden -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -version-info 3:0:1 -o libcares.la -rpath /tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/lib libcares_la-ares__close_sockets.lo libcares_la-ares__get_hostent.lo libcares_la-ares__read_line.lo libcares_la-ares__timeval.lo libcares_la-ares_cancel.lo libcares_la-ares_data.lo libcares_la-ares_destroy.lo libcares_la-ares_expand_name.lo libcares_la-ares_expand_string.lo libcares_la-ares_fds.lo libcares_la-ares_free_hostent.lo libcares_la-ares_free_string.lo libcares_la-ares_getenv.lo libcares_la-ares_gethostbyaddr.lo libcares_la-ares_gethostbyname.lo libcares_la-ares_getnameinfo.lo libcares_la-ares_getsock.lo libcares_la-ares_init.lo libcares_la-ares_library_init.lo libcares_la-ares_llist.lo libcares_la-ares_mkquery.lo libcares_la-ares_create_query.lo libcares_la-ares_nowarn.lo libcares_la-ares_options.lo libcares_la-ares_parse_a_reply.lo libcares_la-ares_parse_aaaa_reply.lo libcares_la-ares_parse_mx_reply.lo libcares_la-ares_parse_naptr_reply.lo libcares_la-ares_parse_ns_reply.lo libcares_la-ares_parse_ptr_reply.lo libcares_la-ares_parse_soa_reply.lo libcares_la-ares_parse_srv_reply.lo libcares_la-ares_parse_txt_reply.lo libcares_la-ares_platform.lo libcares_la-ares_process.lo libcares_la-ares_query.lo libcares_la-ares_search.lo libcares_la-ares_send.lo libcares_la-ares_strcasecmp.lo libcares_la-ares_strdup.lo libcares_la-ares_strerror.lo libcares_la-ares_timeout.lo libcares_la-ares_version.lo libcares_la-ares_writev.lo libcares_la-bitncmp.lo libcares_la-inet_net_pton.lo libcares_la-inet_ntop.lo libcares_la-windows_port.lo
# libtool: link: /usr/bin/ar cru .libs/libcares.a libcares_la-ares__close_sockets.o libcares_la-ares__get_hostent.o libcares_la-ares__read_line.o libcares_la-ares__timeval.o libcares_la-ares_cancel.o libcares_la-ares_data.o libcares_la-ares_destroy.o libcares_la-ares_expand_name.o libcares_la-ares_expand_string.o libcares_la-ares_fds.o libcares_la-ares_free_hostent.o libcares_la-ares_free_string.o libcares_la-ares_getenv.o libcares_la-ares_gethostbyaddr.o libcares_la-ares_gethostbyname.o libcares_la-ares_getnameinfo.o libcares_la-ares_getsock.o libcares_la-ares_init.o libcares_la-ares_library_init.o libcares_la-ares_llist.o libcares_la-ares_mkquery.o libcares_la-ares_create_query.o libcares_la-ares_nowarn.o libcares_la-ares_options.o libcares_la-ares_parse_a_reply.o libcares_la-ares_parse_aaaa_reply.o libcares_la-ares_parse_mx_reply.o libcares_la-ares_parse_naptr_reply.o libcares_la-ares_parse_ns_reply.o libcares_la-ares_parse_ptr_reply.o libcares_la-ares_parse_soa_reply.o libcares_la-ares_parse_srv_reply.o libcares_la-ares_parse_txt_reply.o libcares_la-ares_platform.o libcares_la-ares_process.o libcares_la-ares_query.o libcares_la-ares_search.o libcares_la-ares_send.o libcares_la-ares_strcasecmp.o libcares_la-ares_strdup.o libcares_la-ares_strerror.o libcares_la-ares_timeout.o libcares_la-ares_version.o libcares_la-ares_writev.o libcares_la-bitncmp.o libcares_la-inet_net_pton.o libcares_la-inet_ntop.o libcares_la-windows_port.o
# /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
# libtool: link: ranlib .libs/libcares.a
# libtool: link: ( cd ".libs" && rm -f "libcares.la" && ln -s "../libcares.la" "libcares.la" )
# clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT ahost-ahost.o -MD -MP -MF .deps/ahost-ahost.Tpo -c -o ahost-ahost.o `test -f 'ahost.c' || echo './'`ahost.c
# mv -f .deps/ahost-ahost.Tpo .deps/ahost-ahost.Po
# clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT ahost-ares_getopt.o -MD -MP -MF .deps/ahost-ares_getopt.Tpo -c -o ahost-ares_getopt.o `test -f 'ares_getopt.c' || echo './'`ares_getopt.c
# mv -f .deps/ahost-ares_getopt.Tpo .deps/ahost-ares_getopt.Po
# clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT ahost-ares_nowarn.o -MD -MP -MF .deps/ahost-ares_nowarn.Tpo -c -o ahost-ares_nowarn.o `test -f 'ares_nowarn.c' || echo './'`ares_nowarn.c
# mv -f .deps/ahost-ares_nowarn.Tpo .deps/ahost-ares_nowarn.Po
# clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT ahost-ares_strcasecmp.o -MD -MP -MF .deps/ahost-ares_strcasecmp.Tpo -c -o ahost-ares_strcasecmp.o `test -f 'ares_strcasecmp.c' || echo './'`ares_strcasecmp.c
# mv -f .deps/ahost-ares_strcasecmp.Tpo .deps/ahost-ares_strcasecmp.Po
# /bin/sh ./libtool --tag=CC --mode=link clang -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -o ahost ahost-ahost.o ahost-ares_getopt.o ahost-ares_nowarn.o ahost-ares_strcasecmp.o ./libcares.la
# libtool: link: clang -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -o ahost ahost-ahost.o ahost-ares_getopt.o ahost-ares_nowarn.o ahost-ares_strcasecmp.o ./.libs/libcares.a
# clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT adig-adig.o -MD -MP -MF .deps/adig-adig.Tpo -c -o adig-adig.o `test -f 'adig.c' || echo './'`adig.c
# mv -f .deps/adig-adig.Tpo .deps/adig-adig.Po
# clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT adig-ares_getopt.o -MD -MP -MF .deps/adig-ares_getopt.Tpo -c -o adig-ares_getopt.o `test -f 'ares_getopt.c' || echo './'`ares_getopt.c
# mv -f .deps/adig-ares_getopt.Tpo .deps/adig-ares_getopt.Po
# clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT adig-ares_nowarn.o -MD -MP -MF .deps/adig-ares_nowarn.Tpo -c -o adig-ares_nowarn.o `test -f 'ares_nowarn.c' || echo './'`ares_nowarn.c
# mv -f .deps/adig-ares_nowarn.Tpo .deps/adig-ares_nowarn.Po
# clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT adig-ares_strcasecmp.o -MD -MP -MF .deps/adig-ares_strcasecmp.Tpo -c -o adig-ares_strcasecmp.o `test -f 'ares_strcasecmp.c' || echo './'`ares_strcasecmp.c
# mv -f .deps/adig-ares_strcasecmp.Tpo .deps/adig-ares_strcasecmp.Po
# /bin/sh ./libtool --tag=CC --mode=link clang -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -o adig adig-adig.o adig-ares_getopt.o adig-ares_nowarn.o adig-ares_strcasecmp.o ./libcares.la
# libtool: link: clang -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -o adig adig-adig.o adig-ares_getopt.o adig-ares_nowarn.o adig-ares_strcasecmp.o ./.libs/libcares.a
# clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT acountry-acountry.o -MD -MP -MF .deps/acountry-acountry.Tpo -c -o acountry-acountry.o `test -f 'acountry.c' || echo './'`acountry.c
# acountry.c:274:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# { 248, "ax", "land Island" },
# ^~~~
# 1 warning generated.
# mv -f .deps/acountry-acountry.Tpo .deps/acountry-acountry.Po
# clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT acountry-ares_getopt.o -MD -MP -MF .deps/acountry-ares_getopt.Tpo -c -o acountry-ares_getopt.o `test -f 'ares_getopt.c' || echo './'`ares_getopt.c
# mv -f .deps/acountry-ares_getopt.Tpo .deps/acountry-ares_getopt.Po
# clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT acountry-ares_nowarn.o -MD -MP -MF .deps/acountry-ares_nowarn.Tpo -c -o acountry-ares_nowarn.o `test -f 'ares_nowarn.c' || echo './'`ares_nowarn.c
# mv -f .deps/acountry-ares_nowarn.Tpo .deps/acountry-ares_nowarn.Po
# clang -DHAVE_CONFIG_H -I. -I. -DCARES_STATICLIB -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -MT acountry-ares_strcasecmp.o -MD -MP -MF .deps/acountry-ares_strcasecmp.Tpo -c -o acountry-ares_strcasecmp.o `test -f 'ares_strcasecmp.c' || echo './'`ares_strcasecmp.c
# mv -f .deps/acountry-ares_strcasecmp.Tpo .deps/acountry-ares_strcasecmp.Po
# /bin/sh ./libtool --tag=CC --mode=link clang -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -o acountry acountry-acountry.o acountry-ares_getopt.o acountry-ares_nowarn.o acountry-ares_strcasecmp.o ./libcares.la
# libtool: link: clang -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -o acountry acountry-acountry.o acountry-ares_getopt.o acountry-ares_nowarn.o acountry-ares_strcasecmp.o ./.libs/libcares.a
# make[1]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares-1.10.0'
# installing c-ares resolver library
# make[1]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares-1.10.0'
# /usr/bin/mkdir -p '/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/lib'
# /bin/sh ./libtool --mode=install /usr/bin/install -c libcares.la '/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/lib'
# libtool: install: /usr/bin/install -c .libs/libcares.lai /tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/lib/libcares.la
# libtool: install: /usr/bin/install -c .libs/libcares.a /tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/lib/libcares.a
# libtool: install: chmod 644 /tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/lib/libcares.a
# libtool: install: ranlib /tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/lib/libcares.a
# libtool: finish: PATH="/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/sbin" ldconfig -n /tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/lib
# ----------------------------------------------------------------------
# Libraries have been installed in:
# /tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/lib
#
# If you ever happen to want to link against installed libraries
# in a given directory, LIBDIR, you must either use libtool, and
# specify the full pathname of the library, or use the `-LLIBDIR'
# flag during linking and do at least one of the following:
# - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
# during execution
# - add LIBDIR to the `LD_RUN_PATH' environment variable
# during linking
# - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
# - have your system administrator add LIBDIR to `/etc/ld.so.conf'
#
# See any operating system documentation about shared libraries for
# more information, such as the ld(1) and ld.so(8) manual pages.
# ----------------------------------------------------------------------
# /usr/bin/mkdir -p '/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include'
# /usr/bin/install -c -m 644 ares.h ares_version.h ares_dns.h ares_build.h ares_rules.h '/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include'
# /usr/bin/mkdir -p '/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/share/man/man3'
# /usr/bin/install -c -m 644 ares_cancel.3 ares_destroy.3 ares_destroy_options.3 ares_dup.3 ares_expand_name.3 ares_expand_string.3 ares_fds.3 ares_free_data.3 ares_free_hostent.3 ares_free_string.3 ares_get_servers.3 ares_gethostbyaddr.3 ares_gethostbyname.3 ares_gethostbyname_file.3 ares_getnameinfo.3 ares_getsock.3 ares_init.3 ares_init_options.3 ares_library_cleanup.3 ares_library_init.3 ares_mkquery.3 ares_create_query.3 ares_parse_a_reply.3 ares_parse_aaaa_reply.3 ares_parse_mx_reply.3 ares_parse_naptr_reply.3 ares_parse_ns_reply.3 ares_parse_ptr_reply.3 ares_parse_soa_reply.3 ares_parse_srv_reply.3 ares_parse_txt_reply.3 ares_process.3 ares_query.3 ares_save_options.3 ares_search.3 ares_send.3 ares_set_servers.3 ares_set_socket_callback.3 ares_strerror.3 ares_timeout.3 '/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/share/man/man3'
# /usr/bin/install -c -m 644 ares_version.3 ares_inet_pton.3 ares_inet_ntop.3 '/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/share/man/man3'
# /usr/bin/mkdir -p '/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/lib/pkgconfig'
# /usr/bin/install -c -m 644 libcares.pc '/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/lib/pkgconfig'
# make[1]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares-1.10.0'
# /tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares-1.10.0
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking if compiler needs -Werror to reject unknown flags... no
# checking for the pthreads library -lpthreads... no
# checking whether pthreads work without any flags... no
# checking whether pthreads work with -Kthread... no
# checking whether pthreads work with -kthread... no
# checking for the pthreads library -llthread... no
# checking whether pthreads work with -pthread... yes
# checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
# checking if more special flags are required for pthreads... no
# checking for PTHREAD_PRIO_INHERIT... yes
# configure: creating ./config.status
# config.status: creating Makefile
# config.status: creating src/modules/Makefile
# config.status: creating src/modules/chanmodes/Makefile
# config.status: creating src/modules/usermodes/Makefile
# config.status: creating src/modules/snomasks/Makefile
# config.status: creating src/modules/extbans/Makefile
# config.status: creating src/modules/third/Makefile
# config.status: creating unrealircd
# config.status: creating include/setup.h
# Building src
# make[1]: Entering directory '/tmp/unrealircd/src/unrealircd-4.0.4/src'
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c timesynch.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c res.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c s_bsd.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# s_bsd.c:232:25: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# (OPT_TYPE *)&err, &len))
# ^~~~
# /usr/include/sys/socket.h:221:32: note: passing argument to parameter '__optlen' here
# socklen_t *__restrict __optlen) __THROW;
# ^
# s_bsd.c:277:25: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# (OPT_TYPE *)&err, &len))
# ^~~~
# /usr/include/sys/socket.h:221:32: note: passing argument to parameter '__optlen' here
# socklen_t *__restrict __optlen) __THROW;
# ^
# s_bsd.c:928:25: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# (OPT_TYPE *)&err, &len))
# ^~~~
# /usr/include/sys/socket.h:221:32: note: passing argument to parameter '__optlen' here
# socklen_t *__restrict __optlen) __THROW;
# ^
# s_bsd.c:1043:49: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# if (getpeername(fd, (struct sockaddr *)&addr, &len) < 0)
# ^~~~
# /usr/include/sys/socket.h:142:26: note: passing argument to parameter '__len' here
# socklen_t *__restrict __len) __THROW;
# ^
# s_bsd.c:1052:49: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# if (getpeername(fd, (struct sockaddr *)&addr, &len) < 0)
# ^~~~
# /usr/include/sys/socket.h:142:26: note: passing argument to parameter '__len' here
# socklen_t *__restrict __len) __THROW;
# ^
# 5 warnings generated.
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c auth.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# auth.c:94:29: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# bits = b64_decode(hashstr, hashbuf, sizeof(hashbuf)) * 8;
# ^~~~~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:464:55: note: passing argument to parameter 'target' here
# extern int b64_decode(char const *src, unsigned char *target, size_t targsize);
# ^
# auth.c:311:9: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# DoMD5(result, para, strlen(para));
# ^~~~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:679:34: note: passing argument to parameter 'mdout' here
# extern void DoMD5(unsigned char *mdout, const unsigned char *src, unsigned long n);
# ^
# auth.c:311:17: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# DoMD5(result, para, strlen(para));
# ^~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:679:62: note: passing argument to parameter 'src' here
# extern void DoMD5(unsigned char *mdout, const unsigned char *src, unsigned long n);
# ^
# auth.c:312:23: warning: passing 'char [16]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# if ((i = b64_encode(result, sizeof(result), buf, sizeof(buf))))
# ^~~~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:463:44: note: passing argument to parameter 'src' here
# extern int b64_encode(unsigned char const *src, size_t srclength, char *target, size_t targsize);
# ^
# auth.c:328:34: warning: passing 'char [128]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# rsaltlen = b64_decode(saltstr, rsalt, sizeof(rsalt));
# ^~~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:464:55: note: passing argument to parameter 'target' here
# extern int b64_decode(char const *src, unsigned char *target, size_t targsize);
# ^
# auth.c:333:9: warning: passing 'char [144]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# DoMD5(result1, para, strlen(para));
# ^~~~~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:679:34: note: passing argument to parameter 'mdout' here
# extern void DoMD5(unsigned char *mdout, const unsigned char *src, unsigned long n);
# ^
# auth.c:333:18: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# DoMD5(result1, para, strlen(para));
# ^~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:679:62: note: passing argument to parameter 'src' here
# extern void DoMD5(unsigned char *mdout, const unsigned char *src, unsigned long n);
# ^
# auth.c:339:9: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# DoMD5(result2, result1, rsaltlen+16);
# ^~~~~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:679:34: note: passing argument to parameter 'mdout' here
# extern void DoMD5(unsigned char *mdout, const unsigned char *src, unsigned long n);
# ^
# auth.c:339:18: warning: passing 'char [144]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# DoMD5(result2, result1, rsaltlen+16);
# ^~~~~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:679:62: note: passing argument to parameter 'src' here
# extern void DoMD5(unsigned char *mdout, const unsigned char *src, unsigned long n);
# ^
# auth.c:342:23: warning: passing 'char [16]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# if ((i = b64_encode(result2, sizeof(result2), buf, sizeof(buf))))
# ^~~~~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:463:44: note: passing argument to parameter 'src' here
# extern int b64_encode(unsigned char const *src, size_t srclength, char *target, size_t targsize);
# ^
# auth.c:373:34: warning: passing 'char [128]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# rsaltlen = b64_decode(saltstr, rsalt, sizeof(rsalt));
# ^~~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:464:55: note: passing argument to parameter 'target' here
# extern int b64_decode(char const *src, unsigned char *target, size_t targsize);
# ^
# auth.c:380:14: warning: passing 'char [148]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# SHA1_Final(result1, &hash);
# ^~~~~~~
# /usr/include/openssl/sha.h:123:31: note: passing argument to parameter 'md' here
# int SHA1_Final(unsigned char *md, SHA_CTX *c);
# ^
# auth.c:388:14: warning: passing 'char [20]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# SHA1_Final(result2, &hash);
# ^~~~~~~
# /usr/include/openssl/sha.h:123:31: note: passing argument to parameter 'md' here
# int SHA1_Final(unsigned char *md, SHA_CTX *c);
# ^
# auth.c:391:23: warning: passing 'char [20]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# if ((i = b64_encode(result2, sizeof(result2), buf, sizeof(buf))))
# ^~~~~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:463:44: note: passing argument to parameter 'src' here
# extern int b64_encode(unsigned char const *src, size_t srclength, char *target, size_t targsize);
# ^
# auth.c:401:28: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# if ((i = b64_encode(SHA1(para, strlen(para), NULL), 20, buf, sizeof(buf))))
# ^~~~
# /usr/include/openssl/sha.h:124:42: note: passing argument to parameter 'd' here
# unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md);
# ^
# auth.c:431:34: warning: passing 'char [128]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# rsaltlen = b64_decode(saltstr, rsalt, sizeof(rsalt));
# ^~~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:464:55: note: passing argument to parameter 'target' here
# extern int b64_decode(char const *src, unsigned char *target, size_t targsize);
# ^
# auth.c:438:19: warning: passing 'char [148]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# RIPEMD160_Final(result1, &hash);
# ^~~~~~~
# /usr/include/openssl/ripemd.h:98:36: note: passing argument to parameter 'md' here
# int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c);
# ^
# auth.c:445:19: warning: passing 'char [20]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# RIPEMD160_Final(result2, &hash);
# ^~~~~~~
# /usr/include/openssl/ripemd.h:98:36: note: passing argument to parameter 'md' here
# int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c);
# ^
# auth.c:447:23: warning: passing 'char [20]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# if ((i = b64_encode(result2, sizeof(result2), buf, sizeof(buf))))
# ^~~~~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:463:44: note: passing argument to parameter 'src' here
# extern int b64_encode(unsigned char const *src, size_t srclength, char *target, size_t targsize);
# ^
# auth.c:457:33: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# if ((i = b64_encode(RIPEMD160(para, strlen(para), NULL), 20, buf, sizeof(buf))))
# ^~~~
# /usr/include/openssl/ripemd.h:99:47: note: passing argument to parameter 'd' here
# unsigned char *RIPEMD160(const unsigned char *d, size_t n, unsigned char *md);
# ^
# auth.c:635:17: warning: passing 'char [6]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# i = b64_encode(saltraw, RAWSALTLEN, saltstr, REALSALTLEN);
# ^~~~~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:463:44: note: passing argument to parameter 'src' here
# extern int b64_encode(unsigned char const *src, size_t srclength, char *target, size_t targsize);
# ^
# auth.c:648:8: warning: passing 'char [28]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# DoMD5(result1, para, strlen(para));
# ^~~~~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:679:34: note: passing argument to parameter 'mdout' here
# extern void DoMD5(unsigned char *mdout, const unsigned char *src, unsigned long n);
# ^
# auth.c:648:17: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# DoMD5(result1, para, strlen(para));
# ^~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:679:62: note: passing argument to parameter 'src' here
# extern void DoMD5(unsigned char *mdout, const unsigned char *src, unsigned long n);
# ^
# auth.c:654:8: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# DoMD5(result2, result1, RAWSALTLEN+16);
# ^~~~~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:679:34: note: passing argument to parameter 'mdout' here
# extern void DoMD5(unsigned char *mdout, const unsigned char *src, unsigned long n);
# ^
# auth.c:654:17: warning: passing 'char [28]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# DoMD5(result2, result1, RAWSALTLEN+16);
# ^~~~~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:679:62: note: passing argument to parameter 'src' here
# extern void DoMD5(unsigned char *mdout, const unsigned char *src, unsigned long n);
# ^
# auth.c:658:17: warning: passing 'char [16]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# i = b64_encode(result2, sizeof(result2), xresult, sizeof(xresult));
# ^~~~~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:463:44: note: passing argument to parameter 'src' here
# extern int b64_encode(unsigned char const *src, size_t srclength, char *target, size_t targsize);
# ^
# auth.c:685:17: warning: passing 'char [6]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# i = b64_encode(saltraw, RAWSALTLEN, saltstr, REALSALTLEN);
# ^~~~~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:463:44: note: passing argument to parameter 'src' here
# extern int b64_encode(unsigned char const *src, size_t srclength, char *target, size_t targsize);
# ^
# auth.c:700:13: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# SHA1_Final(result1, &hash);
# ^~~~~~~
# /usr/include/openssl/sha.h:123:31: note: passing argument to parameter 'md' here
# int SHA1_Final(unsigned char *md, SHA_CTX *c);
# ^
# auth.c:708:13: warning: passing 'char [20]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# SHA1_Final(result2, &hash);
# ^~~~~~~
# /usr/include/openssl/sha.h:123:31: note: passing argument to parameter 'md' here
# int SHA1_Final(unsigned char *md, SHA_CTX *c);
# ^
# auth.c:712:17: warning: passing 'char [20]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# i = b64_encode(result2, sizeof(result2), xresult, sizeof(xresult));
# ^~~~~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:463:44: note: passing argument to parameter 'src' here
# extern int b64_encode(unsigned char const *src, size_t srclength, char *target, size_t targsize);
# ^
# auth.c:739:17: warning: passing 'char [6]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# i = b64_encode(saltraw, RAWSALTLEN, saltstr, REALSALTLEN);
# ^~~~~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:463:44: note: passing argument to parameter 'src' here
# extern int b64_encode(unsigned char const *src, size_t srclength, char *target, size_t targsize);
# ^
# auth.c:754:18: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# RIPEMD160_Final(result1, &hash);
# ^~~~~~~
# /usr/include/openssl/ripemd.h:98:36: note: passing argument to parameter 'md' here
# int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c);
# ^
# auth.c:762:18: warning: passing 'char [20]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# RIPEMD160_Final(result2, &hash);
# ^~~~~~~
# /usr/include/openssl/ripemd.h:98:36: note: passing argument to parameter 'md' here
# int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c);
# ^
# auth.c:766:17: warning: passing 'char [20]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# i = b64_encode(result2, sizeof(result2), xresult, sizeof(xresult));
# ^~~~~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:463:44: note: passing argument to parameter 'src' here
# extern int b64_encode(unsigned char const *src, size_t srclength, char *target, size_t targsize);
# ^
# 34 warnings generated.
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c aln.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c channel.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c cloak.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c crule.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c dbuf.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c events.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c fdlist.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c hash.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c ircd.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c ircsprintf.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c list.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c match.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# match.c:64:15: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# const u_char *m = mask;
# ^ ~~~~
# match.c:65:15: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# const u_char *n = name;
# ^ ~~~~
# match.c:67:15: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# const u_char *na = name;
# ^ ~~~~
# match.c:126:15: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# const u_char *m = mask;
# ^ ~~~~
# match.c:127:15: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# const u_char *n = name;
# ^ ~~~~
# match.c:129:15: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# const u_char *na = name;
# ^ ~~~~
# match.c:480:37: warning: passing 'char *' to parameter of type 'PCRE2_SPTR8' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# m->ext.pcre2_expr = pcre2_compile(str, PCRE2_ZERO_TERMINATED, options, &errorcode, &erroroffset, NULL);
# ^~~
# /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include/pcre2.h:667:1: note: passing argument to parameter here
# PCRE2_TYPES_STRUCTURES_AND_FUNCTIONS
# ^
# /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include/pcre2.h:656:31: note: expanded from macro 'PCRE2_TYPES_STRUCTURES_AND_FUNCTIONS'
# PCRE2_MATCH_CONTEXT_FUNCTIONS \
# ^
# /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include/pcre2.h:437:50: note: expanded from macro '\
# PCRE2_COMPILE_FUNCTIONS'
# pcre2_code *pcre2_compile(PCRE2_SPTR, PCRE2_SIZE, uint32_t, \
# ^
# match.c:483:39: warning: passing 'char [512]' to parameter of type 'PCRE2_UCHAR8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# pcre2_get_error_message(errorcode, buf2, sizeof(buf2));
# ^~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include/pcre2.h:667:1: note: passing argument to parameter here
# PCRE2_TYPES_STRUCTURES_AND_FUNCTIONS
# ^
# /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include/pcre2.h:663:21: note: expanded from macro 'PCRE2_TYPES_STRUCTURES_AND_FUNCTIONS'
# PCRE2_JIT_FUNCTIONS \
# ^
# /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include/pcre2.h:541:68: note: expanded from macro '\
# PCRE2_OTHER_FUNCTIONS'
# PCRE2_EXP_DECL int pcre2_get_error_message(int, PCRE2_UCHAR *, PCRE2_SIZE); \
# ^
# match.c:543:40: warning: passing 'char *' to parameter of type 'PCRE2_SPTR8' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# ret = pcre2_match(m->ext.pcre2_expr, str, PCRE2_ZERO_TERMINATED, 0, 0, md, NULL); /* run the regex */
# ^~~
# /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include/pcre2.h:667:1: note: passing argument to parameter here
# PCRE2_TYPES_STRUCTURES_AND_FUNCTIONS
# ^
# /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include/pcre2.h:658:30: note: expanded from macro 'PCRE2_TYPES_STRUCTURES_AND_FUNCTIONS'
# PCRE2_PATTERN_INFO_FUNCTIONS \
# ^
# /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include/pcre2.h:467:40: note: expanded from macro '\
# PCRE2_MATCH_FUNCTIONS'
# PCRE2_SPTR, PCRE2_SIZE, PCRE2_SIZE, uint32_t, \
# ^
# match.c:695:31: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# if (!inet_pton6(acptr->ip, clientip))
# ^~~~~~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:753:55: note: passing argument to parameter 'dst' here
# extern int inet_pton6(const char *src, unsigned char *dst);
# ^
# match.c:697:27: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# if (!inet_pton6(hmask, maskip))
# ^~~~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:753:55: note: passing argument to parameter 'dst' here
# extern int inet_pton6(const char *src, unsigned char *dst);
# ^
# match.c:716:43: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# if (acptr->ip && inet_pton4(acptr->ip, clientip) && inet_pton4(hmask, maskip))
# ^~~~~~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:752:55: note: passing argument to parameter 'dst' here
# extern int inet_pton4(const char *src, unsigned char *dst);
# ^
# match.c:716:74: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# if (acptr->ip && inet_pton4(acptr->ip, clientip) && inet_pton4(hmask, maskip))
# ^~~~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:752:55: note: passing argument to parameter 'dst' here
# extern int inet_pton4(const char *src, unsigned char *dst);
# ^
# 13 warnings generated.
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c -o modules.o modules.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c packet.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c parse.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c s_auth.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c -o mempool.o mempool.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c operclass.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c s_conf.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c s_debug.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c s_dispatch.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c s_err.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c s_extra.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# s_extra.c:145:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
# if ((dconf->flag.type2 == CONF_BAN_TYPE_AKILL))
# ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
# s_extra.c:145:26: note: remove extraneous parentheses around the comparison to silence this warning
# if ((dconf->flag.type2 == CONF_BAN_TYPE_AKILL))
# ~ ^ ~
# s_extra.c:145:26: note: use '=' to turn this equality comparison into an assignment
# if ((dconf->flag.type2 == CONF_BAN_TYPE_AKILL))
# ^~
# =
# 1 warning generated.
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c s_kline.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c s_misc.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c s_numeric.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c s_serv.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c s_svs.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c socket.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c ssl.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c s_user.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c charsys.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# charsys.c:518:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# charsys_addallowed("");
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# charsys.c:523:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# charsys_addallowed("");
# ^~~~~~~~~~~~~~~~~~~~~~~~
# charsys.c:534:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# charsys_addallowed("");
# ^~~~~~~~~~~~~~~~~~~~~~~~
# charsys.c:540:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# charsys_addallowed("");
# ^~~~~~~~~~~~~~~~~~~~~~~~
# charsys.c:549:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# charsys_addallowed("");
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# charsys.c:554:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# charsys_addallowed("");
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# charsys.c:559:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# charsys_addallowed("");
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# charsys.c:565:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# charsys_addallowed("");
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# charsys.c:571:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# charsys_addallowed("");
# ^~~~~~~~~~~~~~~~~~~~~~~~
# charsys.c:576:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# charsys_addallowed("
");
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# charsys.c:591:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# charsys_addallowed("");
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# charsys.c:598:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# charsys_addallowed("");
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# charsys.c:604:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# charsys_addallowed("󶿼ʣӦ");
# ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~
# charsys.c:611:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# charsys_addallowed("ʣӌ<8F>");
# ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~
# charsys.c:616:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# charsys_addallowed("<8A><8D><8E><9A><9D><9E>
");
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# charsys.c:621:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# charsys_addallowed("<8A><8D><8E><9A><9D><9E>");
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# charsys.c:630:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# charsys_addallowed("
");
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# charsys.c:639:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# charsys_addallowed("ŨDzӡ
");
# ^~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# charsys.c:648:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# charsys_addallowed("åŪȲ賿");
# ^~~~~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# charsys.c:656:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# charsys_addallowed("
");
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# charsys.c:663:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# charsys_addallowed("");
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# charsys.c:671:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# charsys_addallowed("");
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 22 warnings generated.
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c scache.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# scache.c:159:13: warning: address of array 'ptr->name' will always evaluate to 'true' [-Wpointer-bool-conversion]
# if (ptr->name)
# ~~ ~~~~~^~~~
# 1 warning generated.
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c send.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# send.c:1333:14: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# encode_ip(sptr->ip), sptr->info);
# ^~~~~~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:601:32: note: passing argument to parameter here
# extern char *encode_ip(u_char *);
# ^
# send.c:1345:50: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# CHECKPROTO(cptr, PROTO_NICKIP) ? encode_ip(sptr->ip) : "",
# ^~~~~~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:601:32: note: passing argument to parameter here
# extern char *encode_ip(u_char *);
# ^
# 2 warnings generated.
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c support.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# support.c:1662:57: warning: passing 'char [33]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# snprintf(tempbuf, PATH_MAX, "%s/%s", CACHEDIR, md5hash(tmp2, url, strlen(url)));
# ^~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:680:37: note: passing argument to parameter 'dst' here
# extern char *md5hash(unsigned char *dst, const unsigned char *src, unsigned long n);
# ^
# support.c:1662:63: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# snprintf(tempbuf, PATH_MAX, "%s/%s", CACHEDIR, md5hash(tmp2, url, strlen(url)));
# ^~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:680:63: note: passing argument to parameter 'src' here
# extern char *md5hash(unsigned char *dst, const unsigned char *src, unsigned long n);
# ^
# support.c:1828:13: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# if (strchr(ip, ':'))
# ^~
# /usr/include/string.h:231:34: note: passing argument to parameter '__s' here
# extern char *strchr (const char *__s, int __c)
# ^
# support.c:1830:23: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# inet_pton(AF_INET6, ip, ia6);
# ^~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/inet.h:33:42: note: passing argument to parameter 'src' here
# extern int inet_pton(int af, const char *src, void *dst);
# ^
# support.c:1836:15: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# b64_encode((char *)&cp[12], sizeof(struct in_addr), buf, 25);
# ^~~~~~~~~~~~~~~
# support.c:1339:37: note: passing argument to parameter 'src' here
# int b64_encode(unsigned char const *src, size_t srclength, char *target, size_t targsize)
# ^
# support.c:1838:15: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# b64_encode((char *)cp, 16, buf, 25);
# ^~~~~~~~~~
# support.c:1339:37: note: passing argument to parameter 'src' here
# int b64_encode(unsigned char const *src, size_t srclength, char *target, size_t targsize)
# ^
# support.c:1842:25: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# ia.s_addr = inet_addr(ip);
# ^~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/inet.h:38:30: note: passing argument to parameter here
# extern __u_l inet_addr(char *);
# ^
# support.c:1843:14: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# b64_encode((char *)&ia.s_addr, sizeof(struct in_addr), buf, 25);
# ^~~~~~~~~~~~~~~~~~
# support.c:1339:37: note: passing argument to parameter 'src' here
# int b64_encode(unsigned char const *src, size_t srclength, char *target, size_t targsize)
# ^
# support.c:1853:18: warning: passing 'char [25]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# b64_decode(buf, targ, 25);
# ^~~~
# support.c:1398:48: note: passing argument to parameter 'target' here
# int b64_decode(char const *src, unsigned char *target, size_t targsize)
# ^
# 9 warnings generated.
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c umodes.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# /bin/sh version.c.SH
# Extracting src/version.c...
# 4.0.4
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c version.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c whowas.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c random.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# random.c:155:15: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# DoMD5(mdbuf, buf, strlen(buf));
# ^~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:679:62: note: passing argument to parameter 'src' here
# extern void DoMD5(unsigned char *mdout, const unsigned char *src, unsigned long n);
# ^
# 1 warning generated.
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c extcmodes.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c moddata.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c uid.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c extbans.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c api-isupport.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c api-command.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c api-clicap.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c md5.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# md5.c:36:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# sprintf(dst, "%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x",
# ^~~
# /usr/include/stdio.h:364:38: note: passing argument to parameter '__s' here
# extern int sprintf (char *__restrict __s,
# ^
# md5.c:39:9: warning: returning 'unsigned char *' from a function with result type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# return dst;
# ^~~
# 2 warnings generated.
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c crypt_blowfish.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c updconf.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -c crashreport.c
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# crashreport.c:328:14: warning: passing 'char [60]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# b64_encode(binbuf, n, printbuf, sizeof(printbuf));
# ^~~~~~
# /tmp/unrealircd/src/unrealircd-4.0.4/include/h.h:463:44: note: passing argument to parameter 'src' here
# extern int b64_encode(unsigned char const *src, size_t srclength, char *target, size_t targsize);
# ^
# 1 warning generated.
# clang -I/tmp/unrealircd/src/unrealircd-4.0.4/include -pthread -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include -I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include -pipe -funsigned-char -Wl,-export-dynamic -lssl -lcrypto -o ircd timesynch.o res.o s_bsd.o auth.o aln.o channel.o cloak.o crule.o dbuf.o events.o fdlist.o hash.o ircd.o ircsprintf.o list.o match.o modules.o packet.o parse.o s_auth.o mempool.o operclass.o s_conf.o s_debug.o s_dispatch.o s_err.o s_extra.o s_kline.o s_misc.o s_numeric.o s_serv.o s_svs.o socket.o ssl.o s_user.o charsys.o scache.o send.o support.o umodes.o version.o whowas.o random.o extcmodes.o moddata.o uid.o extbans.o api-isupport.o api-command.o api-clicap.o md5.o crypt_blowfish.o updconf.o crashreport.o -lcrypt -lnsl -ldl /tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/lib/libtre.a -L/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/lib -lpcre2-8 -pthread -L../extras/c-ares/lib /tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/lib/libcares.a -lssl -lcrypto
# modules.o: In function `Module_Depend_Resolve':
# modules.c:(.text+0x128e): undefined reference to `Module_IsAlreadyChild'
# modules.c:(.text+0x12a4): undefined reference to `Module_AddAsChild'
# packet.o: In function `del_Command':
# packet.c:(.text+0x512): undefined reference to `find_CommandEx'
# parse.o: In function `parse':
# parse.c:(.text+0xa5f): undefined reference to `parse_addlag'
# parse.c:(.text+0xb13): undefined reference to `parse_addlag'
# parse.c:(.text+0xcd8): undefined reference to `parse_addlag'
# s_serv.o: In function `m_version':
# s_serv.c:(.text+0x1a0): undefined reference to `send_version'
# s_serv.c:(.text+0x41a): undefined reference to `send_version'
# s_serv.c:(.text+0x42d): undefined reference to `send_version'
# support.o: In function `unreal_copyfile':
# support.c:(.text+0x1ea3): undefined reference to `cancel_copy'
# support.c:(.text+0x1f08): undefined reference to `cancel_copy'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# make[1]: *** [Makefile:67: ircd] Error 1
# make[1]: Leaving directory '/tmp/unrealircd/src/unrealircd-4.0.4/src'
# make: *** [Makefile:140: build] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/unrealircd/src/unrealircd-4.0.4/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# It was created by unrealircd configure 4.0.4, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --with-pidfile=/run/unrealircd/ircd.pid --with-showlistmodes --enable-ssl=/usr --with-bindir=/usr/bin --with-datadir=/var/lib/unrealircd --with-confdir=/etc/unrealircd --with-modulesdir=/usr/lib/unrealircd --with-logdir=/var/log/unrealircd --with-cachedir=/var/cache/unrealircd --with-docdir=/usr/share/doc/unrealircd --with-tmpdir=/tmp --with-scriptdir=/usr --with-nick-history=2000 --with-sendq=3000000 --with-permissions=0644 --with-fd-setsize=1024 --enable-dynamic-linking
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 69347dba162c
# uname -m = x86_64
# uname -r = 4.10.6-1-ARCH
# uname -s = Linux
# uname -v = #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017
#
# /usr/bin/uname -p = unknown
# /bin/uname -X = unknown
#
# /bin/arch = unknown
# /usr/bin/arch -k = unknown
# /usr/convex/getsysinfo = unknown
# /usr/bin/hostinfo = unknown
# /bin/machine = unknown
# /usr/bin/oslevel = unknown
# /bin/universe = unknown
#
# PATH: /usr/bin
# PATH: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/bin
# PATH: /usr/lib/jvm/default/bin
# PATH: /usr/bin/site_perl
# PATH: /usr/bin/vendor_perl
# PATH: /usr/bin/core_perl
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:2562: checking for x86_64-unknown-linux-gcc
# configure:2589: result: clang
# configure:2858: checking for C compiler version
# configure:2867: clang --version >&5
# clang version 3.8.0 (tags/RELEASE_380/final)
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /usr/bin
# configure:2878: $? = 0
# configure:2867: clang -v >&5
# clang version 3.8.0 (tags/RELEASE_380/final)
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /usr/bin
# Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# ... rest of stderr output deleted ...
# configure:2878: $? = 0
# configure:2867: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:2878: $? = 1
# configure:2867: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:2878: $? = 1
# configure:2898: checking whether the C compiler works
# configure:2920: clang conftest.c >&5
# configure:2924: $? = 0
# configure:2972: result: yes
# configure:2975: checking for C compiler default output file name
# configure:2977: result: a.out
# configure:2983: checking for suffix of executables
# configure:2990: clang -o conftest conftest.c >&5
# configure:2994: $? = 0
# configure:3016: result:
# configure:3038: checking whether we are cross compiling
# configure:3046: clang -o conftest conftest.c >&5
# configure:3050: $? = 0
# configure:3057: ./conftest
# configure:3061: $? = 0
# configure:3076: result: no
# configure:3081: checking for suffix of object files
# configure:3103: clang -c conftest.c >&5
# configure:3107: $? = 0
# configure:3128: result: o
# configure:3132: checking whether we are using the GNU C compiler
# configure:3151: clang -c conftest.c >&5
# configure:3151: $? = 0
# configure:3160: result: yes
# configure:3169: checking whether clang accepts -g
# configure:3189: clang -c -g conftest.c >&5
# configure:3189: $? = 0
# configure:3230: result: yes
# configure:3247: checking for clang option to accept ISO C89
# configure:3310: clang -c conftest.c >&5
# configure:3310: $? = 0
# configure:3323: result: none needed
# configure:3346: checking if gcc has a working -pipe
# configure:3365: clang -c -funsigned-char -pipe conftest.c >&5
# configure:3365: $? = 0
# configure:3374: result: yes
# configure:3392: checking for rm
# configure:3410: found /usr/bin/rm
# configure:3422: result: /usr/bin/rm
# configure:3432: checking for cp
# configure:3450: found /usr/bin/cp
# configure:3462: result: /usr/bin/cp
# configure:3472: checking for touch
# configure:3490: found /usr/bin/touch
# configure:3502: result: /usr/bin/touch
# configure:3512: checking for openssl
# configure:3530: found /usr/bin/openssl
# configure:3542: result: /usr/bin/openssl
# configure:3552: checking for install
# configure:3570: found /usr/bin/install
# configure:3582: result: /usr/bin/install
# configure:3592: checking for gmake
# configure:3620: result: make
# configure:3630: checking for gmake
# configure:3663: result: no
# configure:3670: checking for gunzip
# configure:3688: found /usr/bin/gunzip
# configure:3700: result: /usr/bin/gunzip
# configure:3710: checking for pkg-config
# configure:3728: found /usr/bin/pkg-config
# configure:3740: result: /usr/bin/pkg-config
# configure:3749: checking for crypt in -ldescrypt
# configure:3774: clang -o conftest -pipe -funsigned-char conftest.c -ldescrypt >&5
# /usr/bin/ld: cannot find -ldescrypt
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:3774: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | /* end confdefs.h. */
# |
# | /* Override any GCC internal prototype to avoid an error.
# | Use char because int might match the return type of a GCC
# | builtin and then its argument prototype would still apply. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char crypt ();
# | int
# | main ()
# | {
# | return crypt ();
# | ;
# | return 0;
# | }
# configure:3783: result: no
# configure:3792: checking for crypt in -lcrypt
# configure:3817: clang -o conftest -pipe -funsigned-char conftest.c -lcrypt >&5
# configure:3817: $? = 0
# configure:3826: result: yes
# configure:3838: checking for socket in -lsocket
# configure:3863: clang -o conftest -pipe -funsigned-char conftest.c -lsocket >&5
# /usr/bin/ld: cannot find -lsocket
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:3863: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | /* end confdefs.h. */
# |
# | /* Override any GCC internal prototype to avoid an error.
# | Use char because int might match the return type of a GCC
# | builtin and then its argument prototype would still apply. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char socket ();
# | int
# | main ()
# | {
# | return socket ();
# | ;
# | return 0;
# | }
# configure:3872: result: no
# configure:3879: checking for inet_ntoa in -lnsl
# configure:3904: clang -o conftest -pipe -funsigned-char conftest.c -lnsl >&5
# configure:3904: $? = 0
# configure:3913: result: yes
# configure:3920: checking for RAND_egd in -lcrypto
# configure:3945: clang -o conftest -pipe -funsigned-char conftest.c -lcrypto >&5
# configure:3945: $? = 0
# configure:3954: result: yes
# configure:3968: checking if your system has IPv6 support
# configure:3993: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:20:1: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit(0); /* We only check if the code compiles, that's enough. We can deal with missing runtime IPv6 */
# ^
# conftest.c:20:1: note: include the header or explicitly provide a declaration for 'exit'
# 1 warning generated.
# configure:3993: $? = 0
# configure:3993: ./conftest
# configure:3993: $? = 0
# configure:4004: result: yes
# configure:4016: checking how to run the C preprocessor
# configure:4047: clang -E conftest.c
# configure:4047: $? = 0
# configure:4061: clang -E conftest.c
# conftest.c:15:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:4061: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | /* end confdefs.h. */
# | #include
# configure:4086: result: clang -E
# configure:4106: clang -E conftest.c
# configure:4106: $? = 0
# configure:4120: clang -E conftest.c
# conftest.c:15:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:4120: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | /* end confdefs.h. */
# | #include
# configure:4149: checking for grep that handles long lines and -e
# configure:4207: result: /usr/bin/grep
# configure:4212: checking for egrep
# configure:4274: result: /usr/bin/grep -E
# configure:4279: checking for ANSI C header files
# configure:4299: clang -c -pipe -funsigned-char conftest.c >&5
# configure:4299: $? = 0
# configure:4372: clang -o conftest -pipe -funsigned-char conftest.c >&5
# configure:4372: $? = 0
# configure:4372: ./conftest
# configure:4372: $? = 0
# configure:4383: result: yes
# configure:4396: checking for sys/types.h
# configure:4396: clang -c -pipe -funsigned-char conftest.c >&5
# configure:4396: $? = 0
# configure:4396: result: yes
# configure:4396: checking for sys/stat.h
# configure:4396: clang -c -pipe -funsigned-char conftest.c >&5
# configure:4396: $? = 0
# configure:4396: result: yes
# configure:4396: checking for stdlib.h
# configure:4396: clang -c -pipe -funsigned-char conftest.c >&5
# configure:4396: $? = 0
# configure:4396: result: yes
# configure:4396: checking for string.h
# configure:4396: clang -c -pipe -funsigned-char conftest.c >&5
# configure:4396: $? = 0
# configure:4396: result: yes
# configure:4396: checking for memory.h
# configure:4396: clang -c -pipe -funsigned-char conftest.c >&5
# configure:4396: $? = 0
# configure:4396: result: yes
# configure:4396: checking for strings.h
# configure:4396: clang -c -pipe -funsigned-char conftest.c >&5
# configure:4396: $? = 0
# configure:4396: result: yes
# configure:4396: checking for inttypes.h
# configure:4396: clang -c -pipe -funsigned-char conftest.c >&5
# configure:4396: $? = 0
# configure:4396: result: yes
# configure:4396: checking for stdint.h
# configure:4396: clang -c -pipe -funsigned-char conftest.c >&5
# configure:4396: $? = 0
# configure:4396: result: yes
# configure:4396: checking for unistd.h
# configure:4396: clang -c -pipe -funsigned-char conftest.c >&5
# configure:4396: $? = 0
# configure:4396: result: yes
# configure:4408: checking sys/param.h usability
# configure:4408: clang -c -pipe -funsigned-char conftest.c >&5
# configure:4408: $? = 0
# configure:4408: result: yes
# configure:4408: checking sys/param.h presence
# configure:4408: clang -E conftest.c
# configure:4408: $? = 0
# configure:4408: result: yes
# configure:4408: checking for sys/param.h
# configure:4408: result: yes
# configure:4416: checking for stdlib.h
# configure:4416: result: yes
# configure:4424: checking stddef.h usability
# configure:4424: clang -c -pipe -funsigned-char conftest.c >&5
# configure:4424: $? = 0
# configure:4424: result: yes
# configure:4424: checking stddef.h presence
# configure:4424: clang -E conftest.c
# configure:4424: $? = 0
# configure:4424: result: yes
# configure:4424: checking for stddef.h
# configure:4424: result: yes
# configure:4432: checking sys/syslog.h usability
# configure:4432: clang -c -pipe -funsigned-char conftest.c >&5
# configure:4432: $? = 0
# configure:4432: result: yes
# configure:4432: checking sys/syslog.h presence
# configure:4432: clang -E conftest.c
# configure:4432: $? = 0
# configure:4432: result: yes
# configure:4432: checking for sys/syslog.h
# configure:4432: result: yes
# configure:4440: checking for unistd.h
# configure:4440: result: yes
# configure:4448: checking for string.h
# configure:4448: result: yes
# configure:4456: checking for strings.h
# configure:4456: result: yes
# configure:4464: checking malloc.h usability
# configure:4464: clang -c -pipe -funsigned-char conftest.c >&5
# configure:4464: $? = 0
# configure:4464: result: yes
# configure:4464: checking malloc.h presence
# configure:4464: clang -E conftest.c
# configure:4464: $? = 0
# configure:4464: result: yes
# configure:4464: checking for malloc.h
# configure:4464: result: yes
# configure:4472: checking sys/rusage.h usability
# configure:4472: clang -c -pipe -funsigned-char conftest.c >&5
# conftest.c:66:10: fatal error: 'sys/rusage.h' file not found
# #include
# ^
# 1 error generated.
# configure:4472: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | /* end confdefs.h. */
# | #include
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_STAT_H
# | # include
# | #endif
# | #ifdef STDC_HEADERS
# | # include
# | # include
# | #else
# | # ifdef HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #ifdef HAVE_STRING_H
# | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | #ifdef HAVE_INTTYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STDINT_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | #include
# configure:4472: result: no
# configure:4472: checking sys/rusage.h presence
# configure:4472: clang -E conftest.c
# conftest.c:33:10: fatal error: 'sys/rusage.h' file not found
# #include
# ^
# 1 error generated.
# configure:4472: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | /* end confdefs.h. */
# | #include
# configure:4472: result: no
# configure:4472: checking for sys/rusage.h
# configure:4472: result: no
# configure:4480: checking glob.h usability
# configure:4480: clang -c -pipe -funsigned-char conftest.c >&5
# configure:4480: $? = 0
# configure:4480: result: yes
# configure:4480: checking glob.h presence
# configure:4480: clang -E conftest.c
# configure:4480: $? = 0
# configure:4480: result: yes
# configure:4480: checking for glob.h
# configure:4480: result: yes
# configure:4491: checking for stdint.h
# configure:4491: result: yes
# configure:4491: checking for inttypes.h
# configure:4491: result: yes
# configure:4501: checking for an ANSI C-conforming const
# configure:4567: clang -c -pipe -funsigned-char conftest.c >&5
# configure:4567: $? = 0
# configure:4574: result: yes
# configure:4582: checking for inline
# configure:4598: clang -c -pipe -funsigned-char conftest.c >&5
# configure:4598: $? = 0
# configure:4606: result: inline
# configure:4625: checking for mode_t
# configure:4625: clang -c -pipe -funsigned-char conftest.c >&5
# configure:4625: $? = 0
# configure:4625: clang -c -pipe -funsigned-char conftest.c >&5
# conftest.c:72:21: error: expected expression
# if (sizeof ((mode_t)))
# ^
# 1 error generated.
# configure:4625: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | #define GLOBH /**/
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | /* end confdefs.h. */
# | #include
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_STAT_H
# | # include
# | #endif
# | #ifdef STDC_HEADERS
# | # include
# | # include
# | #else
# | # ifdef HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #ifdef HAVE_STRING_H
# | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | #ifdef HAVE_INTTYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STDINT_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | int
# | main ()
# | {
# | if (sizeof ((mode_t)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:4625: result: yes
# configure:4636: checking for size_t
# configure:4636: clang -c -pipe -funsigned-char conftest.c >&5
# configure:4636: $? = 0
# configure:4636: clang -c -pipe -funsigned-char conftest.c >&5
# conftest.c:72:21: error: expected expression
# if (sizeof ((size_t)))
# ^
# 1 error generated.
# configure:4636: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | #define GLOBH /**/
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | /* end confdefs.h. */
# | #include
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_STAT_H
# | # include
# | #endif
# | #ifdef STDC_HEADERS
# | # include
# | # include
# | #else
# | # ifdef HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #ifdef HAVE_STRING_H
# | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | #ifdef HAVE_INTTYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STDINT_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | int
# | main ()
# | {
# | if (sizeof ((size_t)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:4636: result: yes
# configure:4648: checking for intptr_t
# configure:4648: clang -c -pipe -funsigned-char conftest.c >&5
# configure:4648: $? = 0
# configure:4648: clang -c -pipe -funsigned-char conftest.c >&5
# conftest.c:72:23: error: expected expression
# if (sizeof ((intptr_t)))
# ^
# 1 error generated.
# configure:4648: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | #define GLOBH /**/
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | /* end confdefs.h. */
# | #include
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_STAT_H
# | # include
# | #endif
# | #ifdef STDC_HEADERS
# | # include
# | # include
# | #else
# | # ifdef HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #ifdef HAVE_STRING_H
# | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | #ifdef HAVE_INTTYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STDINT_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | int
# | main ()
# | {
# | if (sizeof ((intptr_t)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:4648: result: yes
# configure:4684: checking whether time.h and sys/time.h may both be included
# configure:4704: clang -c -pipe -funsigned-char conftest.c >&5
# configure:4704: $? = 0
# configure:4711: result: yes
# configure:4719: checking for sys/wait.h that is POSIX.1 compatible
# configure:4745: clang -c -pipe -funsigned-char conftest.c >&5
# configure:4745: $? = 0
# configure:4752: result: yes
# configure:4760: checking whether struct tm is in sys/time.h or time.h
# configure:4780: clang -c -pipe -funsigned-char conftest.c >&5
# configure:4780: $? = 0
# configure:4787: result: time.h
# configure:4795: checking for uid_t in sys/types.h
# configure:4814: result: yes
# configure:4829: checking size of short
# configure:4834: clang -o conftest -pipe -funsigned-char conftest.c >&5
# configure:4834: $? = 0
# configure:4834: ./conftest
# configure:4834: $? = 0
# configure:4848: result: 2
# configure:4862: checking size of int
# configure:4867: clang -o conftest -pipe -funsigned-char conftest.c >&5
# configure:4867: $? = 0
# configure:4867: ./conftest
# configure:4867: $? = 0
# configure:4881: result: 4
# configure:4895: checking size of long
# configure:4900: clang -o conftest -pipe -funsigned-char conftest.c >&5
# configure:4900: $? = 0
# configure:4900: ./conftest
# configure:4900: $? = 0
# configure:4914: result: 8
# configure:4948: checking for int16_t
# configure:4948: clang -c -pipe -funsigned-char conftest.c >&5
# configure:4948: $? = 0
# configure:4948: clang -c -pipe -funsigned-char conftest.c >&5
# conftest.c:78:22: error: expected expression
# if (sizeof ((int16_t)))
# ^
# 1 error generated.
# configure:4948: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | #define GLOBH /**/
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_INTPTR_T 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_WAIT_H 1
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_INT 4
# | #define SIZEOF_LONG 8
# | /* end confdefs.h. */
# | #include
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_STAT_H
# | # include
# | #endif
# | #ifdef STDC_HEADERS
# | # include
# | # include
# | #else
# | # ifdef HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #ifdef HAVE_STRING_H
# | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | #ifdef HAVE_INTTYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STDINT_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | int
# | main ()
# | {
# | if (sizeof ((int16_t)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:4948: result: yes
# configure:4959: checking for u_int16_t
# configure:4959: clang -c -pipe -funsigned-char conftest.c >&5
# configure:4959: $? = 0
# configure:4959: clang -c -pipe -funsigned-char conftest.c >&5
# conftest.c:78:24: error: expected expression
# if (sizeof ((u_int16_t)))
# ^
# 1 error generated.
# configure:4959: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | #define GLOBH /**/
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_INTPTR_T 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_WAIT_H 1
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_INT 4
# | #define SIZEOF_LONG 8
# | /* end confdefs.h. */
# | #include
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_STAT_H
# | # include
# | #endif
# | #ifdef STDC_HEADERS
# | # include
# | # include
# | #else
# | # ifdef HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #ifdef HAVE_STRING_H
# | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | #ifdef HAVE_INTTYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STDINT_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | int
# | main ()
# | {
# | if (sizeof ((u_int16_t)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:4959: result: yes
# configure:4974: checking for int32_t
# configure:4974: clang -c -pipe -funsigned-char conftest.c >&5
# configure:4974: $? = 0
# configure:4974: clang -c -pipe -funsigned-char conftest.c >&5
# conftest.c:78:22: error: expected expression
# if (sizeof ((int32_t)))
# ^
# 1 error generated.
# configure:4974: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | #define GLOBH /**/
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_INTPTR_T 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_WAIT_H 1
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_INT 4
# | #define SIZEOF_LONG 8
# | /* end confdefs.h. */
# | #include
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_STAT_H
# | # include
# | #endif
# | #ifdef STDC_HEADERS
# | # include
# | # include
# | #else
# | # ifdef HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #ifdef HAVE_STRING_H
# | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | #ifdef HAVE_INTTYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STDINT_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | int
# | main ()
# | {
# | if (sizeof ((int32_t)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:4974: result: yes
# configure:4985: checking for u_int32_t
# configure:4985: clang -c -pipe -funsigned-char conftest.c >&5
# configure:4985: $? = 0
# configure:4985: clang -c -pipe -funsigned-char conftest.c >&5
# conftest.c:78:24: error: expected expression
# if (sizeof ((u_int32_t)))
# ^
# 1 error generated.
# configure:4985: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | #define GLOBH /**/
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_INTPTR_T 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_WAIT_H 1
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_INT 4
# | #define SIZEOF_LONG 8
# | /* end confdefs.h. */
# | #include
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_STAT_H
# | # include
# | #endif
# | #ifdef STDC_HEADERS
# | # include
# | # include
# | #else
# | # ifdef HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #ifdef HAVE_STRING_H
# | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | #ifdef HAVE_INTTYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STDINT_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | int
# | main ()
# | {
# | if (sizeof ((u_int32_t)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:4985: result: yes
# configure:5049: checking size of rlim_t
# configure:5054: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:75:57: error: use of undeclared identifier 'rlim_t'
# static long int longval () { return (long int) (sizeof (rlim_t)); }
# ^
# conftest.c:76:67: error: use of undeclared identifier 'rlim_t'
# static unsigned long int ulongval () { return (long int) (sizeof (rlim_t)); }
# ^
# conftest.c:86:28: error: use of undeclared identifier 'rlim_t'
# if (((long int) (sizeof (rlim_t))) < 0)
# ^
# conftest.c:89:37: error: use of undeclared identifier 'rlim_t'
# if (i != ((long int) (sizeof (rlim_t))))
# ^
# conftest.c:96:37: error: use of undeclared identifier 'rlim_t'
# if (i != ((long int) (sizeof (rlim_t))))
# ^
# 5 errors generated.
# configure:5054: $? = 1
# configure: program exited with status 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | #define GLOBH /**/
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_INTPTR_T 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_WAIT_H 1
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_INT 4
# | #define SIZEOF_LONG 8
# | /* end confdefs.h. */
# | #include
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_STAT_H
# | # include
# | #endif
# | #ifdef STDC_HEADERS
# | # include
# | # include
# | #else
# | # ifdef HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #ifdef HAVE_STRING_H
# | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | #ifdef HAVE_INTTYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STDINT_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | static long int longval () { return (long int) (sizeof (rlim_t)); }
# | static unsigned long int ulongval () { return (long int) (sizeof (rlim_t)); }
# | #include
# | #include
# | int
# | main ()
# | {
# |
# | FILE *f = fopen ("conftest.val", "w");
# | if (! f)
# | return 1;
# | if (((long int) (sizeof (rlim_t))) < 0)
# | {
# | long int i = longval ();
# | if (i != ((long int) (sizeof (rlim_t))))
# | return 1;
# | fprintf (f, "%ld", i);
# | }
# | else
# | {
# | unsigned long int i = ulongval ();
# | if (i != ((long int) (sizeof (rlim_t))))
# | return 1;
# | fprintf (f, "%lu", i);
# | }
# | /* Do not output a trailing newline, as this causes \r\n confusion
# | on some platforms. */
# | return ferror (f) || fclose (f) != 0;
# |
# | ;
# | return 0;
# | }
# configure:5068: result: 0
# configure:5085: checking what kind of nonblocking sockets you have
# configure:5128: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:50:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# alarmed() {
# ^
# conftest.c:51:1: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit(1);
# ^
# conftest.c:51:1: note: include the header or explicitly provide a declaration for 'exit'
# conftest.c:59:17: warning: incompatible pointer types passing 'int ()' to parameter of type '__sighandler_t' (aka 'void (*)(int)') [-Wincompatible-pointer-types]
# signal(SIGALRM, alarmed);
# ^~~~~~~
# /usr/include/signal.h:102:57: note: passing argument to parameter '__handler' here
# extern __sighandler_t signal (int __sig, __sighandler_t __handler)
# ^
# conftest.c:60:1: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration]
# alarm(3);
# ^
# conftest.c:61:45: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# recvfrom(f, b, 12, 0, (struct sockaddr *)x, &l);
# ^~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 5 warnings generated.
# configure:5128: $? = 0
# configure:5128: ./conftest
# configure:5128: $? = 0
# configure:5224: result: O_NONBLOCK
# configure:5241: checking whether clang needs -traditional
# configure:5275: result: no
# configure:5282: checking whether setpgrp takes no argument
# configure:5304: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:83:19: error: too many arguments to function call, expected 0, have 2
# return setpgrp (1,1) != -1;
# ~~~~~~~ ^~~
# /usr/include/unistd.h:663:1: note: 'setpgrp' declared here
# extern int setpgrp (void) __THROW;
# ^
# 1 error generated.
# configure:5304: $? = 1
# configure: program exited with status 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | #define GLOBH /**/
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_INTPTR_T 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_WAIT_H 1
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_INT 4
# | #define SIZEOF_LONG 8
# | #define SIZEOF_RLIM_T 0
# | #define NBLOCK_POSIX /**/
# | /* end confdefs.h. */
# | #include
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_STAT_H
# | # include
# | #endif
# | #ifdef STDC_HEADERS
# | # include
# | # include
# | #else
# | # ifdef HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #ifdef HAVE_STRING_H
# | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | #ifdef HAVE_INTTYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STDINT_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | int
# | main ()
# | {
# | /* If this system has a BSD-style setpgrp which takes arguments,
# | setpgrp(1, 1) will fail with ESRCH and return -1, in that case
# | exit successfully. */
# | return setpgrp (1,1) != -1;
# | ;
# | return 0;
# | }
# configure:5314: result: yes
# configure:5331: checking for snprintf
# configure:5331: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:68:6: warning: incompatible redeclaration of library function 'snprintf' [-Wincompatible-library-redeclaration]
# char snprintf ();
# ^
# conftest.c:68:6: note: 'snprintf' is a builtin with type 'int (char *, unsigned long, const char *, ...)'
# 1 warning generated.
# configure:5331: $? = 0
# configure:5331: result: yes
# configure:5344: checking for vsnprintf
# configure:5344: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:70:6: warning: incompatible redeclaration of library function 'vsnprintf' [-Wincompatible-library-redeclaration]
# char vsnprintf ();
# ^
# conftest.c:70:6: note: 'vsnprintf' is a builtin with type 'int (char *, unsigned long, const char *, struct __va_list_tag *)'
# 2 warnings generated.
# configure:5344: $? = 0
# configure:5344: result: yes
# configure:5357: checking for strlcpy
# configure:5357: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:72:6: warning: incompatible redeclaration of library function 'strlcpy' [-Wincompatible-library-redeclaration]
# char strlcpy ();
# ^
# conftest.c:72:6: note: 'strlcpy' is a builtin with type 'unsigned long (char *, const char *, unsigned long)'
# 3 warnings generated.
# /tmp/conftest-635e3a.o: In function `main':
# conftest.c:(.text+0x12): undefined reference to `strlcpy'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:5357: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | #define GLOBH /**/
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_INTPTR_T 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_WAIT_H 1
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_INT 4
# | #define SIZEOF_LONG 8
# | #define SIZEOF_RLIM_T 0
# | #define NBLOCK_POSIX /**/
# | #define SETPGRP_VOID 1
# | #define HAVE_SNPRINTF 1
# | #define HAVE_SNPRINTF /**/
# | #define HAVE_VSNPRINTF 1
# | #define HAVE_VSNPRINTF /**/
# | /* end confdefs.h. */
# | /* Define strlcpy to an innocuous variant, in case declares strlcpy.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define strlcpy innocuous_strlcpy
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char strlcpy (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef strlcpy
# |
# | /* Override any GCC internal prototype to avoid an error.
# | Use char because int might match the return type of a GCC
# | builtin and then its argument prototype would still apply. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char strlcpy ();
# | /* The GNU C library defines this for functions which it implements
# | to always fail with ENOSYS. Some functions are actually named
# | something starting with __ and the normal name is an alias. */
# | #if defined __stub_strlcpy || defined __stub___strlcpy
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return strlcpy ();
# | ;
# | return 0;
# | }
# configure:5357: result: no
# configure:5370: checking for strlcat
# configure:5370: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:72:6: warning: incompatible redeclaration of library function 'strlcat' [-Wincompatible-library-redeclaration]
# char strlcat ();
# ^
# conftest.c:72:6: note: 'strlcat' is a builtin with type 'unsigned long (char *, const char *, unsigned long)'
# 3 warnings generated.
# /tmp/conftest-e70d91.o: In function `main':
# conftest.c:(.text+0x12): undefined reference to `strlcat'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:5370: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | #define GLOBH /**/
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_INTPTR_T 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_WAIT_H 1
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_INT 4
# | #define SIZEOF_LONG 8
# | #define SIZEOF_RLIM_T 0
# | #define NBLOCK_POSIX /**/
# | #define SETPGRP_VOID 1
# | #define HAVE_SNPRINTF 1
# | #define HAVE_SNPRINTF /**/
# | #define HAVE_VSNPRINTF 1
# | #define HAVE_VSNPRINTF /**/
# | /* end confdefs.h. */
# | /* Define strlcat to an innocuous variant, in case declares strlcat.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define strlcat innocuous_strlcat
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char strlcat (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef strlcat
# |
# | /* Override any GCC internal prototype to avoid an error.
# | Use char because int might match the return type of a GCC
# | builtin and then its argument prototype would still apply. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char strlcat ();
# | /* The GNU C library defines this for functions which it implements
# | to always fail with ENOSYS. Some functions are actually named
# | something starting with __ and the normal name is an alias. */
# | #if defined __stub_strlcat || defined __stub___strlcat
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return strlcat ();
# | ;
# | return 0;
# | }
# configure:5370: result: no
# configure:5383: checking for strlncat
# configure:5383: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# 2 warnings generated.
# /tmp/conftest-2ebbce.o: In function `main':
# conftest.c:(.text+0x12): undefined reference to `strlncat'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:5383: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | #define GLOBH /**/
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_INTPTR_T 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_WAIT_H 1
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_INT 4
# | #define SIZEOF_LONG 8
# | #define SIZEOF_RLIM_T 0
# | #define NBLOCK_POSIX /**/
# | #define SETPGRP_VOID 1
# | #define HAVE_SNPRINTF 1
# | #define HAVE_SNPRINTF /**/
# | #define HAVE_VSNPRINTF 1
# | #define HAVE_VSNPRINTF /**/
# | /* end confdefs.h. */
# | /* Define strlncat to an innocuous variant, in case declares strlncat.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define strlncat innocuous_strlncat
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char strlncat (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef strlncat
# |
# | /* Override any GCC internal prototype to avoid an error.
# | Use char because int might match the return type of a GCC
# | builtin and then its argument prototype would still apply. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char strlncat ();
# | /* The GNU C library defines this for functions which it implements
# | to always fail with ENOSYS. Some functions are actually named
# | something starting with __ and the normal name is an alias. */
# | #if defined __stub_strlncat || defined __stub___strlncat
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return strlncat ();
# | ;
# | return 0;
# | }
# configure:5383: result: no
# configure:5396: checking for inet_pton
# configure:5396: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# 2 warnings generated.
# configure:5396: $? = 0
# configure:5396: result: yes
# configure:5409: checking for inet_ntop
# configure:5409: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# 3 warnings generated.
# configure:5409: $? = 0
# configure:5409: result: yes
# configure:5420: checking if C99 variable length arrays are supported
# configure:5443: clang -c -pipe -funsigned-char conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# conftest.c:58:12: error: function definition is not allowed here
# int main() {
# ^
# 4 warnings and 1 error generated.
# configure:5443: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | #define GLOBH /**/
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_INTPTR_T 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_WAIT_H 1
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_INT 4
# | #define SIZEOF_LONG 8
# | #define SIZEOF_RLIM_T 0
# | #define NBLOCK_POSIX /**/
# | #define SETPGRP_VOID 1
# | #define HAVE_SNPRINTF 1
# | #define HAVE_SNPRINTF /**/
# | #define HAVE_VSNPRINTF 1
# | #define HAVE_VSNPRINTF /**/
# | #define HAVE_INET_PTON 1
# | #define HAVE_INET_PTON /**/
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_NTOP /**/
# | /* end confdefs.h. */
# |
# | int
# | main ()
# | {
# |
# | int main() {
# | int i = 5;
# | int a[i];
# | a[0] = 1;
# | return 0;
# | }
# | ;
# | return 0;
# | }
# configure:5451: result: no
# configure:5459: checking if we can set the core size to unlimited
# configure:5486: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# conftest.c:61:1: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit(1);
# ^
# conftest.c:61:1: note: include the header or explicitly provide a declaration for 'exit'
# 5 warnings generated.
# configure:5486: $? = 0
# configure:5486: ./conftest
# configure:5486: $? = 0
# configure:5497: result: yes
# configure:5506: checking for vprintf
# configure:5506: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# conftest.c:77:6: warning: incompatible redeclaration of library function 'vprintf' [-Wincompatible-library-redeclaration]
# char vprintf ();
# ^
# conftest.c:77:6: note: 'vprintf' is a builtin with type 'int (const char *, struct __va_list_tag *)'
# 5 warnings generated.
# configure:5506: $? = 0
# configure:5506: result: yes
# configure:5512: checking for _doprnt
# configure:5512: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# 4 warnings generated.
# /tmp/conftest-96c4d6.o: In function `main':
# conftest.c:(.text+0x12): undefined reference to `_doprnt'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:5512: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | #define GLOBH /**/
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_INTPTR_T 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_WAIT_H 1
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_INT 4
# | #define SIZEOF_LONG 8
# | #define SIZEOF_RLIM_T 0
# | #define NBLOCK_POSIX /**/
# | #define SETPGRP_VOID 1
# | #define HAVE_SNPRINTF 1
# | #define HAVE_SNPRINTF /**/
# | #define HAVE_VSNPRINTF 1
# | #define HAVE_VSNPRINTF /**/
# | #define HAVE_INET_PTON 1
# | #define HAVE_INET_PTON /**/
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_NTOP /**/
# | #define FORCE_CORE /**/
# | #define HAVE_VPRINTF 1
# | /* end confdefs.h. */
# | /* Define _doprnt to an innocuous variant, in case declares _doprnt.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define _doprnt innocuous__doprnt
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char _doprnt (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef _doprnt
# |
# | /* Override any GCC internal prototype to avoid an error.
# | Use char because int might match the return type of a GCC
# | builtin and then its argument prototype would still apply. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char _doprnt ();
# | /* The GNU C library defines this for functions which it implements
# | to always fail with ENOSYS. Some functions are actually named
# | something starting with __ and the normal name is an alias. */
# | #if defined __stub__doprnt || defined __stub____doprnt
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return _doprnt ();
# | ;
# | return 0;
# | }
# configure:5512: result: no
# configure:5525: checking for gettimeofday
# configure:5525: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# 4 warnings generated.
# configure:5525: $? = 0
# configure:5525: result: yes
# configure:5552: checking for getrusage
# configure:5552: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# 4 warnings generated.
# configure:5552: $? = 0
# configure:5552: result: yes
# configure:5579: checking for setproctitle
# configure:5579: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# 4 warnings generated.
# /tmp/conftest-d10d83.o: In function `main':
# conftest.c:(.text+0x12): undefined reference to `setproctitle'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:5579: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | #define GLOBH /**/
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_INTPTR_T 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_WAIT_H 1
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_INT 4
# | #define SIZEOF_LONG 8
# | #define SIZEOF_RLIM_T 0
# | #define NBLOCK_POSIX /**/
# | #define SETPGRP_VOID 1
# | #define HAVE_SNPRINTF 1
# | #define HAVE_SNPRINTF /**/
# | #define HAVE_VSNPRINTF 1
# | #define HAVE_VSNPRINTF /**/
# | #define HAVE_INET_PTON 1
# | #define HAVE_INET_PTON /**/
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_NTOP /**/
# | #define FORCE_CORE /**/
# | #define HAVE_VPRINTF 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define GETTIMEOFDAY /**/
# | #define HAVE_GETRUSAGE 1
# | #define GETRUSAGE_2 /**/
# | /* end confdefs.h. */
# | /* Define setproctitle to an innocuous variant, in case declares setproctitle.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define setproctitle innocuous_setproctitle
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char setproctitle (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef setproctitle
# |
# | /* Override any GCC internal prototype to avoid an error.
# | Use char because int might match the return type of a GCC
# | builtin and then its argument prototype would still apply. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char setproctitle ();
# | /* The GNU C library defines this for functions which it implements
# | to always fail with ENOSYS. Some functions are actually named
# | something starting with __ and the normal name is an alias. */
# | #if defined __stub_setproctitle || defined __stub___setproctitle
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return setproctitle ();
# | ;
# | return 0;
# | }
# configure:5579: result: no
# configure:5588: checking for setproctitle in -lutil
# configure:5613: clang -o conftest -pipe -funsigned-char conftest.c -lutil >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# 4 warnings generated.
# /tmp/conftest-855c94.o: In function `main':
# conftest.c:(.text+0x12): undefined reference to `setproctitle'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:5613: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | #define GLOBH /**/
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_INTPTR_T 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_WAIT_H 1
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_INT 4
# | #define SIZEOF_LONG 8
# | #define SIZEOF_RLIM_T 0
# | #define NBLOCK_POSIX /**/
# | #define SETPGRP_VOID 1
# | #define HAVE_SNPRINTF 1
# | #define HAVE_SNPRINTF /**/
# | #define HAVE_VSNPRINTF 1
# | #define HAVE_VSNPRINTF /**/
# | #define HAVE_INET_PTON 1
# | #define HAVE_INET_PTON /**/
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_NTOP /**/
# | #define FORCE_CORE /**/
# | #define HAVE_VPRINTF 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define GETTIMEOFDAY /**/
# | #define HAVE_GETRUSAGE 1
# | #define GETRUSAGE_2 /**/
# | /* end confdefs.h. */
# |
# | /* Override any GCC internal prototype to avoid an error.
# | Use char because int might match the return type of a GCC
# | builtin and then its argument prototype would still apply. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char setproctitle ();
# | int
# | main ()
# | {
# | return setproctitle ();
# | ;
# | return 0;
# | }
# configure:5622: result: no
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# conftest.c:59:10: fatal error: 'sys/exec.h' file not found
# #include
# ^
# 4 warnings and 1 error generated.
# configure:5644: checking for pstat
# configure:5644: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# 4 warnings generated.
# /tmp/conftest-53331f.o: In function `main':
# conftest.c:(.text+0x12): undefined reference to `pstat'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:5644: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | #define GLOBH /**/
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_INTPTR_T 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_WAIT_H 1
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_INT 4
# | #define SIZEOF_LONG 8
# | #define SIZEOF_RLIM_T 0
# | #define NBLOCK_POSIX /**/
# | #define SETPGRP_VOID 1
# | #define HAVE_SNPRINTF 1
# | #define HAVE_SNPRINTF /**/
# | #define HAVE_VSNPRINTF 1
# | #define HAVE_VSNPRINTF /**/
# | #define HAVE_INET_PTON 1
# | #define HAVE_INET_PTON /**/
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_NTOP /**/
# | #define FORCE_CORE /**/
# | #define HAVE_VPRINTF 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define GETTIMEOFDAY /**/
# | #define HAVE_GETRUSAGE 1
# | #define GETRUSAGE_2 /**/
# | /* end confdefs.h. */
# | /* Define pstat to an innocuous variant, in case declares pstat.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define pstat innocuous_pstat
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char pstat (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef pstat
# |
# | /* Override any GCC internal prototype to avoid an error.
# | Use char because int might match the return type of a GCC
# | builtin and then its argument prototype would still apply. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char pstat ();
# | /* The GNU C library defines this for functions which it implements
# | to always fail with ENOSYS. Some functions are actually named
# | something starting with __ and the normal name is an alias. */
# | #if defined __stub_pstat || defined __stub___pstat
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return pstat ();
# | ;
# | return 0;
# | }
# configure:5644: result: no
# configure:5668: checking what type of signals you have
# configure:5689: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# 4 warnings generated.
# configure:5689: $? = 0
# configure:5689: ./conftest
# configure:5689: $? = 0
# configure:5735: result: POSIX
# configure:5753: checking for strtoken
# configure:5753: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# 4 warnings generated.
# /tmp/conftest-3cc728.o: In function `main':
# conftest.c:(.text+0x12): undefined reference to `strtoken'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:5753: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | #define GLOBH /**/
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_INTPTR_T 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_WAIT_H 1
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_INT 4
# | #define SIZEOF_LONG 8
# | #define SIZEOF_RLIM_T 0
# | #define NBLOCK_POSIX /**/
# | #define SETPGRP_VOID 1
# | #define HAVE_SNPRINTF 1
# | #define HAVE_SNPRINTF /**/
# | #define HAVE_VSNPRINTF 1
# | #define HAVE_VSNPRINTF /**/
# | #define HAVE_INET_PTON 1
# | #define HAVE_INET_PTON /**/
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_NTOP /**/
# | #define FORCE_CORE /**/
# | #define HAVE_VPRINTF 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define GETTIMEOFDAY /**/
# | #define HAVE_GETRUSAGE 1
# | #define GETRUSAGE_2 /**/
# | #define POSIX_SIGNALS /**/
# | /* end confdefs.h. */
# | /* Define strtoken to an innocuous variant, in case declares strtoken.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define strtoken innocuous_strtoken
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char strtoken (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef strtoken
# |
# | /* Override any GCC internal prototype to avoid an error.
# | Use char because int might match the return type of a GCC
# | builtin and then its argument prototype would still apply. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char strtoken ();
# | /* The GNU C library defines this for functions which it implements
# | to always fail with ENOSYS. Some functions are actually named
# | something starting with __ and the normal name is an alias. */
# | #if defined __stub_strtoken || defined __stub___strtoken
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return strtoken ();
# | ;
# | return 0;
# | }
# configure:5753: result: no
# configure:5768: checking for strtok
# configure:5768: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# conftest.c:84:6: warning: incompatible redeclaration of library function 'strtok' [-Wincompatible-library-redeclaration]
# char strtok ();
# ^
# conftest.c:84:6: note: 'strtok' is a builtin with type 'char *(char *, const char *)'
# 5 warnings generated.
# configure:5768: $? = 0
# configure:5768: result: yes
# configure:5783: checking for strerror
# configure:5783: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# conftest.c:85:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration]
# char strerror ();
# ^
# conftest.c:85:6: note: 'strerror' is a builtin with type 'char *(int)'
# 5 warnings generated.
# configure:5783: $? = 0
# configure:5783: result: yes
# configure:5798: checking for index
# configure:5798: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# conftest.c:86:6: warning: incompatible redeclaration of library function 'index' [-Wincompatible-library-redeclaration]
# char index ();
# ^
# conftest.c:86:6: note: 'index' is a builtin with type 'char *(const char *, int)'
# 5 warnings generated.
# configure:5798: $? = 0
# configure:5798: result: yes
# configure:5813: checking for strtoul
# configure:5813: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# 4 warnings generated.
# configure:5813: $? = 0
# configure:5813: result: yes
# configure:5826: checking for bcopy
# configure:5826: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# 4 warnings generated.
# configure:5826: $? = 0
# configure:5826: result: yes
# configure:5841: checking for bcmp
# configure:5841: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# 4 warnings generated.
# configure:5841: $? = 0
# configure:5841: result: yes
# configure:5856: checking for bzero
# configure:5856: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# conftest.c:90:6: warning: incompatible redeclaration of library function 'bzero' [-Wincompatible-library-redeclaration]
# char bzero ();
# ^
# conftest.c:90:6: note: 'bzero' is a builtin with type 'void (void *, unsigned long)'
# 5 warnings generated.
# configure:5856: $? = 0
# configure:5856: result: yes
# configure:5871: checking for strcasecmp
# configure:5871: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# conftest.c:91:6: warning: incompatible redeclaration of library function 'strcasecmp' [-Wincompatible-library-redeclaration]
# char strcasecmp ();
# ^
# conftest.c:91:6: note: 'strcasecmp' is a builtin with type 'int (const char *, const char *)'
# 5 warnings generated.
# configure:5871: $? = 0
# configure:5871: result: yes
# configure:5886: checking for inet_addr
# configure:5886: clang -o conftest -pipe -funsigned-char conftest.c -lnsl >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# 4 warnings generated.
# configure:5886: $? = 0
# configure:5886: result: yes
# configure:5901: checking for inet_ntoa
# configure:5901: clang -o conftest -pipe -funsigned-char conftest.c -lnsl >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# 4 warnings generated.
# configure:5901: $? = 0
# configure:5901: result: yes
# configure:5917: checking for syslog
# configure:5917: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# 4 warnings generated.
# configure:5917: $? = 0
# configure:5917: result: yes
# configure:6306: checking for openssl
# configure:6311: result: found in /usr/include/openssl
# configure:6356: checking for dlopen
# configure:6356: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# conftest.c:72:9: warning: 'HAVE_SYSLOG' macro redefined [-Wmacro-redefined]
# #define HAVE_SYSLOG /**/
# ^
# conftest.c:71:9: note: previous definition is here
# #define HAVE_SYSLOG 1
# ^
# 5 warnings generated.
# /tmp/conftest-078849.o: In function `main':
# conftest.c:(.text+0x12): undefined reference to `dlopen'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:6356: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | #define GLOBH /**/
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_INTPTR_T 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_WAIT_H 1
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_INT 4
# | #define SIZEOF_LONG 8
# | #define SIZEOF_RLIM_T 0
# | #define NBLOCK_POSIX /**/
# | #define SETPGRP_VOID 1
# | #define HAVE_SNPRINTF 1
# | #define HAVE_SNPRINTF /**/
# | #define HAVE_VSNPRINTF 1
# | #define HAVE_VSNPRINTF /**/
# | #define HAVE_INET_PTON 1
# | #define HAVE_INET_PTON /**/
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_NTOP /**/
# | #define FORCE_CORE /**/
# | #define HAVE_VPRINTF 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define GETTIMEOFDAY /**/
# | #define HAVE_GETRUSAGE 1
# | #define GETRUSAGE_2 /**/
# | #define POSIX_SIGNALS /**/
# | #define NEED_STRTOKEN /**/
# | #define HAVE_STRTOK 1
# | #define HAVE_STRERROR 1
# | #define HAVE_INDEX 1
# | #define HAVE_STRTOUL 1
# | #define HAVE_BCOPY 1
# | #define HAVE_BCMP 1
# | #define HAVE_BZERO 1
# | #define HAVE_STRCASECMP 1
# | #define GOT_STRCASECMP /**/
# | #define HAVE_INET_ADDR 1
# | #define HAVE_INET_NTOA 1
# | #define HAVE_SYSLOG 1
# | #define HAVE_SYSLOG /**/
# | #define NICKNAMEHISTORYLENGTH 2000
# | #define MAXSENDQLENGTH 3000000
# | #define DEFAULT_PERMISSIONS 00644
# | #define BINDIR "/usr/bin"
# | #define SCRIPTDIR "/usr"
# | #define CONFDIR "/etc/unrealircd"
# | #define MODULESDIR "/usr/lib/unrealircd"
# | #define LOGDIR "/var/log/unrealircd"
# | #define CACHEDIR "/var/cache/unrealircd"
# | #define TMPDIR "/tmp"
# | #define PERMDATADIR "/var/lib/unrealircd"
# | #define DOCDIR "/usr/share/doc/unrealircd"
# | #define PIDFILE "/run/unrealircd/ircd.pid"
# | #define MAXCONNECTIONS 1024
# | #define PREFIX_AQ /**/
# | #define LIST_SHOW_MODES /**/
# | /* end confdefs.h. */
# | /* Define dlopen to an innocuous variant, in case declares dlopen.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define dlopen innocuous_dlopen
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char dlopen (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef dlopen
# |
# | /* Override any GCC internal prototype to avoid an error.
# | Use char because int might match the return type of a GCC
# | builtin and then its argument prototype would still apply. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char dlopen ();
# | /* The GNU C library defines this for functions which it implements
# | to always fail with ENOSYS. Some functions are actually named
# | something starting with __ and the normal name is an alias. */
# | #if defined __stub_dlopen || defined __stub___dlopen
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return dlopen ();
# | ;
# | return 0;
# | }
# configure:6356: result: no
# configure:6360: checking for dlopen in -ldl
# configure:6385: clang -o conftest -pipe -funsigned-char conftest.c -ldl >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# conftest.c:72:9: warning: 'HAVE_SYSLOG' macro redefined [-Wmacro-redefined]
# #define HAVE_SYSLOG /**/
# ^
# conftest.c:71:9: note: previous definition is here
# #define HAVE_SYSLOG 1
# ^
# 5 warnings generated.
# configure:6385: $? = 0
# configure:6394: result: yes
# configure:6412: checking if we need the -export-dynamic flag
# configure:6429: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# conftest.c:72:9: warning: 'HAVE_SYSLOG' macro redefined [-Wmacro-redefined]
# #define HAVE_SYSLOG /**/
# ^
# conftest.c:71:9: note: previous definition is here
# #define HAVE_SYSLOG 1
# ^
# 5 warnings generated.
# configure:6429: $? = 0
# configure:6437: result: yes
# configure:6443: checking for compiler option to produce PIC
# configure:6468: result: -fPIC -DPIC -shared
# configure:6470: checking if your system prepends an underscore on symbols
# configure:6490: result: no
# configure:6506: checking if FD_SETSIZE is large enough to allow 1024 file descriptors
# configure:6521: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# conftest.c:72:9: warning: 'HAVE_SYSLOG' macro redefined [-Wmacro-redefined]
# #define HAVE_SYSLOG /**/
# ^
# conftest.c:71:9: note: previous definition is here
# #define HAVE_SYSLOG 1
# ^
# conftest.c:97:1: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit(0);
# ^
# conftest.c:97:1: note: include the header or explicitly provide a declaration for 'exit'
# 6 warnings generated.
# configure:6521: $? = 0
# configure:6522: result: yes
# configure:6546: checking for poll
# configure:6546: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# conftest.c:72:9: warning: 'HAVE_SYSLOG' macro redefined [-Wmacro-redefined]
# #define HAVE_SYSLOG /**/
# ^
# conftest.c:71:9: note: previous definition is here
# #define HAVE_SYSLOG 1
# ^
# 5 warnings generated.
# configure:6546: $? = 0
# configure:6546: result: yes
# configure:6560: checking for epoll_create
# configure:6560: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# conftest.c:72:9: warning: 'HAVE_SYSLOG' macro redefined [-Wmacro-redefined]
# #define HAVE_SYSLOG /**/
# ^
# conftest.c:71:9: note: previous definition is here
# #define HAVE_SYSLOG 1
# ^
# conftest.c:90:9: warning: 'HAVE_POLL' macro redefined [-Wmacro-redefined]
# #define HAVE_POLL /**/
# ^
# conftest.c:89:9: note: previous definition is here
# #define HAVE_POLL 1
# ^
# 6 warnings generated.
# configure:6560: $? = 0
# configure:6560: result: yes
# configure:6560: checking for epoll_ctl
# configure:6560: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# conftest.c:72:9: warning: 'HAVE_SYSLOG' macro redefined [-Wmacro-redefined]
# #define HAVE_SYSLOG /**/
# ^
# conftest.c:71:9: note: previous definition is here
# #define HAVE_SYSLOG 1
# ^
# conftest.c:90:9: warning: 'HAVE_POLL' macro redefined [-Wmacro-redefined]
# #define HAVE_POLL /**/
# ^
# conftest.c:89:9: note: previous definition is here
# #define HAVE_POLL 1
# ^
# 6 warnings generated.
# configure:6560: $? = 0
# configure:6560: result: yes
# configure:6560: checking for epoll_wait
# configure:6560: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# conftest.c:72:9: warning: 'HAVE_SYSLOG' macro redefined [-Wmacro-redefined]
# #define HAVE_SYSLOG /**/
# ^
# conftest.c:71:9: note: previous definition is here
# #define HAVE_SYSLOG 1
# ^
# conftest.c:90:9: warning: 'HAVE_POLL' macro redefined [-Wmacro-redefined]
# #define HAVE_POLL /**/
# ^
# conftest.c:89:9: note: previous definition is here
# #define HAVE_POLL 1
# ^
# 6 warnings generated.
# configure:6560: $? = 0
# configure:6560: result: yes
# configure:6574: checking for kqueue
# configure:6574: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# conftest.c:72:9: warning: 'HAVE_SYSLOG' macro redefined [-Wmacro-redefined]
# #define HAVE_SYSLOG /**/
# ^
# conftest.c:71:9: note: previous definition is here
# #define HAVE_SYSLOG 1
# ^
# conftest.c:90:9: warning: 'HAVE_POLL' macro redefined [-Wmacro-redefined]
# #define HAVE_POLL /**/
# ^
# conftest.c:89:9: note: previous definition is here
# #define HAVE_POLL 1
# ^
# 6 warnings generated.
# /tmp/conftest-969e9a.o: In function `main':
# conftest.c:(.text+0x12): undefined reference to `kqueue'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:6574: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | #define GLOBH /**/
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_INTPTR_T 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_WAIT_H 1
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_INT 4
# | #define SIZEOF_LONG 8
# | #define SIZEOF_RLIM_T 0
# | #define NBLOCK_POSIX /**/
# | #define SETPGRP_VOID 1
# | #define HAVE_SNPRINTF 1
# | #define HAVE_SNPRINTF /**/
# | #define HAVE_VSNPRINTF 1
# | #define HAVE_VSNPRINTF /**/
# | #define HAVE_INET_PTON 1
# | #define HAVE_INET_PTON /**/
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_NTOP /**/
# | #define FORCE_CORE /**/
# | #define HAVE_VPRINTF 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define GETTIMEOFDAY /**/
# | #define HAVE_GETRUSAGE 1
# | #define GETRUSAGE_2 /**/
# | #define POSIX_SIGNALS /**/
# | #define NEED_STRTOKEN /**/
# | #define HAVE_STRTOK 1
# | #define HAVE_STRERROR 1
# | #define HAVE_INDEX 1
# | #define HAVE_STRTOUL 1
# | #define HAVE_BCOPY 1
# | #define HAVE_BCMP 1
# | #define HAVE_BZERO 1
# | #define HAVE_STRCASECMP 1
# | #define GOT_STRCASECMP /**/
# | #define HAVE_INET_ADDR 1
# | #define HAVE_INET_NTOA 1
# | #define HAVE_SYSLOG 1
# | #define HAVE_SYSLOG /**/
# | #define NICKNAMEHISTORYLENGTH 2000
# | #define MAXSENDQLENGTH 3000000
# | #define DEFAULT_PERMISSIONS 00644
# | #define BINDIR "/usr/bin"
# | #define SCRIPTDIR "/usr"
# | #define CONFDIR "/etc/unrealircd"
# | #define MODULESDIR "/usr/lib/unrealircd"
# | #define LOGDIR "/var/log/unrealircd"
# | #define CACHEDIR "/var/cache/unrealircd"
# | #define TMPDIR "/tmp"
# | #define PERMDATADIR "/var/lib/unrealircd"
# | #define DOCDIR "/usr/share/doc/unrealircd"
# | #define PIDFILE "/run/unrealircd/ircd.pid"
# | #define MAXCONNECTIONS 1024
# | #define PREFIX_AQ /**/
# | #define LIST_SHOW_MODES /**/
# | #define HAVE_POLL 1
# | #define HAVE_POLL /**/
# | #define HAVE_EPOLL_CREATE 1
# | #define HAVE_EPOLL /**/
# | #define HAVE_EPOLL_CTL 1
# | #define HAVE_EPOLL /**/
# | #define HAVE_EPOLL_WAIT 1
# | #define HAVE_EPOLL /**/
# | /* end confdefs.h. */
# | /* Define kqueue to an innocuous variant, in case declares kqueue.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define kqueue innocuous_kqueue
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char kqueue (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef kqueue
# |
# | /* Override any GCC internal prototype to avoid an error.
# | Use char because int might match the return type of a GCC
# | builtin and then its argument prototype would still apply. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char kqueue ();
# | /* The GNU C library defines this for functions which it implements
# | to always fail with ENOSYS. Some functions are actually named
# | something starting with __ and the normal name is an alias. */
# | #if defined __stub_kqueue || defined __stub___kqueue
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return kqueue ();
# | ;
# | return 0;
# | }
# configure:6574: result: no
# configure:6574: checking for kevent
# configure:6574: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# conftest.c:72:9: warning: 'HAVE_SYSLOG' macro redefined [-Wmacro-redefined]
# #define HAVE_SYSLOG /**/
# ^
# conftest.c:71:9: note: previous definition is here
# #define HAVE_SYSLOG 1
# ^
# conftest.c:90:9: warning: 'HAVE_POLL' macro redefined [-Wmacro-redefined]
# #define HAVE_POLL /**/
# ^
# conftest.c:89:9: note: previous definition is here
# #define HAVE_POLL 1
# ^
# 6 warnings generated.
# /tmp/conftest-4e2ef8.o: In function `main':
# conftest.c:(.text+0x12): undefined reference to `kevent'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:6574: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | #define GLOBH /**/
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_INTPTR_T 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_WAIT_H 1
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_INT 4
# | #define SIZEOF_LONG 8
# | #define SIZEOF_RLIM_T 0
# | #define NBLOCK_POSIX /**/
# | #define SETPGRP_VOID 1
# | #define HAVE_SNPRINTF 1
# | #define HAVE_SNPRINTF /**/
# | #define HAVE_VSNPRINTF 1
# | #define HAVE_VSNPRINTF /**/
# | #define HAVE_INET_PTON 1
# | #define HAVE_INET_PTON /**/
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_NTOP /**/
# | #define FORCE_CORE /**/
# | #define HAVE_VPRINTF 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define GETTIMEOFDAY /**/
# | #define HAVE_GETRUSAGE 1
# | #define GETRUSAGE_2 /**/
# | #define POSIX_SIGNALS /**/
# | #define NEED_STRTOKEN /**/
# | #define HAVE_STRTOK 1
# | #define HAVE_STRERROR 1
# | #define HAVE_INDEX 1
# | #define HAVE_STRTOUL 1
# | #define HAVE_BCOPY 1
# | #define HAVE_BCMP 1
# | #define HAVE_BZERO 1
# | #define HAVE_STRCASECMP 1
# | #define GOT_STRCASECMP /**/
# | #define HAVE_INET_ADDR 1
# | #define HAVE_INET_NTOA 1
# | #define HAVE_SYSLOG 1
# | #define HAVE_SYSLOG /**/
# | #define NICKNAMEHISTORYLENGTH 2000
# | #define MAXSENDQLENGTH 3000000
# | #define DEFAULT_PERMISSIONS 00644
# | #define BINDIR "/usr/bin"
# | #define SCRIPTDIR "/usr"
# | #define CONFDIR "/etc/unrealircd"
# | #define MODULESDIR "/usr/lib/unrealircd"
# | #define LOGDIR "/var/log/unrealircd"
# | #define CACHEDIR "/var/cache/unrealircd"
# | #define TMPDIR "/tmp"
# | #define PERMDATADIR "/var/lib/unrealircd"
# | #define DOCDIR "/usr/share/doc/unrealircd"
# | #define PIDFILE "/run/unrealircd/ircd.pid"
# | #define MAXCONNECTIONS 1024
# | #define PREFIX_AQ /**/
# | #define LIST_SHOW_MODES /**/
# | #define HAVE_POLL 1
# | #define HAVE_POLL /**/
# | #define HAVE_EPOLL_CREATE 1
# | #define HAVE_EPOLL /**/
# | #define HAVE_EPOLL_CTL 1
# | #define HAVE_EPOLL /**/
# | #define HAVE_EPOLL_WAIT 1
# | #define HAVE_EPOLL /**/
# | /* end confdefs.h. */
# | /* Define kevent to an innocuous variant, in case declares kevent.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define kevent innocuous_kevent
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char kevent (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef kevent
# |
# | /* Override any GCC internal prototype to avoid an error.
# | Use char because int might match the return type of a GCC
# | builtin and then its argument prototype would still apply. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char kevent ();
# | /* The GNU C library defines this for functions which it implements
# | to always fail with ENOSYS. Some functions are actually named
# | something starting with __ and the normal name is an alias. */
# | #if defined __stub_kevent || defined __stub___kevent
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return kevent ();
# | ;
# | return 0;
# | }
# configure:6574: result: no
# configure:6599: checking for x86_64-unknown-linux-pkg-config
# configure:6632: result: no
# configure:6642: checking for pkg-config
# configure:6660: found /usr/bin/pkg-config
# configure:6672: result: /usr/bin/pkg-config
# configure:6697: checking pkg-config is at least version 0.9.0
# configure:6700: result: yes
# configure:6711: result: extracting TRE regex library
# configure:6724: result: configuring TRE regex library
# configure:6728: result: compiling TRE regex library
# configure:6731: result: installing TRE regex library
# configure:6846: result: extracting PCRE2 regex library
# configure:6859: result: configuring PCRE2 regex library
# configure:6863: result: compiling PCRE2 regex library
# configure:6866: result: installing PCRE2 regex library
# configure:6981: result: extracting c-ares resolver library
# configure:6994: result: configuring c-ares library
# configure:6998: result: compiling c-ares resolver library
# configure:7001: result: installing c-ares resolver library
# configure:7135: checking build system type
# configure:7149: result: x86_64-unknown-linux-gnu
# configure:7169: checking host system type
# configure:7182: result: x86_64-unknown-linux-gnu
# configure:7314: checking if compiler needs -Werror to reject unknown flags
# configure:7330: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Werror -Wunknown-warning-option -Wsizeof-array-argument conftest.c >&5
# clang-3.8: error: -Wl,-export-dynamic: 'linker' input unused
# configure:7330: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | #define GLOBH /**/
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_INTPTR_T 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_WAIT_H 1
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_INT 4
# | #define SIZEOF_LONG 8
# | #define SIZEOF_RLIM_T 0
# | #define NBLOCK_POSIX /**/
# | #define SETPGRP_VOID 1
# | #define HAVE_SNPRINTF 1
# | #define HAVE_SNPRINTF /**/
# | #define HAVE_VSNPRINTF 1
# | #define HAVE_VSNPRINTF /**/
# | #define HAVE_INET_PTON 1
# | #define HAVE_INET_PTON /**/
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_NTOP /**/
# | #define FORCE_CORE /**/
# | #define HAVE_VPRINTF 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define GETTIMEOFDAY /**/
# | #define HAVE_GETRUSAGE 1
# | #define GETRUSAGE_2 /**/
# | #define POSIX_SIGNALS /**/
# | #define NEED_STRTOKEN /**/
# | #define HAVE_STRTOK 1
# | #define HAVE_STRERROR 1
# | #define HAVE_INDEX 1
# | #define HAVE_STRTOUL 1
# | #define HAVE_BCOPY 1
# | #define HAVE_BCMP 1
# | #define HAVE_BZERO 1
# | #define HAVE_STRCASECMP 1
# | #define GOT_STRCASECMP /**/
# | #define HAVE_INET_ADDR 1
# | #define HAVE_INET_NTOA 1
# | #define HAVE_SYSLOG 1
# | #define HAVE_SYSLOG /**/
# | #define NICKNAMEHISTORYLENGTH 2000
# | #define MAXSENDQLENGTH 3000000
# | #define DEFAULT_PERMISSIONS 00644
# | #define BINDIR "/usr/bin"
# | #define SCRIPTDIR "/usr"
# | #define CONFDIR "/etc/unrealircd"
# | #define MODULESDIR "/usr/lib/unrealircd"
# | #define LOGDIR "/var/log/unrealircd"
# | #define CACHEDIR "/var/cache/unrealircd"
# | #define TMPDIR "/tmp"
# | #define PERMDATADIR "/var/lib/unrealircd"
# | #define DOCDIR "/usr/share/doc/unrealircd"
# | #define PIDFILE "/run/unrealircd/ircd.pid"
# | #define MAXCONNECTIONS 1024
# | #define PREFIX_AQ /**/
# | #define LIST_SHOW_MODES /**/
# | #define HAVE_POLL 1
# | #define HAVE_POLL /**/
# | #define HAVE_EPOLL_CREATE 1
# | #define HAVE_EPOLL /**/
# | #define HAVE_EPOLL_CTL 1
# | #define HAVE_EPOLL /**/
# | #define HAVE_EPOLL_WAIT 1
# | #define HAVE_EPOLL /**/
# | /* end confdefs.h. */
# | int foo(void);
# | int
# | main ()
# | {
# | foo()
# | ;
# | return 0;
# | }
# configure:7335: result: no
# configure:7401: checking for the pthreads library -lpthreads
# configure:7439: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c -lpthreads >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# conftest.c:72:9: warning: 'HAVE_SYSLOG' macro redefined [-Wmacro-redefined]
# #define HAVE_SYSLOG /**/
# ^
# conftest.c:71:9: note: previous definition is here
# #define HAVE_SYSLOG 1
# ^
# conftest.c:90:9: warning: 'HAVE_POLL' macro redefined [-Wmacro-redefined]
# #define HAVE_POLL /**/
# ^
# conftest.c:89:9: note: previous definition is here
# #define HAVE_POLL 1
# ^
# 6 warnings generated.
# /usr/bin/ld: cannot find -lpthreads
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:7439: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | #define GLOBH /**/
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_INTPTR_T 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_WAIT_H 1
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_INT 4
# | #define SIZEOF_LONG 8
# | #define SIZEOF_RLIM_T 0
# | #define NBLOCK_POSIX /**/
# | #define SETPGRP_VOID 1
# | #define HAVE_SNPRINTF 1
# | #define HAVE_SNPRINTF /**/
# | #define HAVE_VSNPRINTF 1
# | #define HAVE_VSNPRINTF /**/
# | #define HAVE_INET_PTON 1
# | #define HAVE_INET_PTON /**/
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_NTOP /**/
# | #define FORCE_CORE /**/
# | #define HAVE_VPRINTF 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define GETTIMEOFDAY /**/
# | #define HAVE_GETRUSAGE 1
# | #define GETRUSAGE_2 /**/
# | #define POSIX_SIGNALS /**/
# | #define NEED_STRTOKEN /**/
# | #define HAVE_STRTOK 1
# | #define HAVE_STRERROR 1
# | #define HAVE_INDEX 1
# | #define HAVE_STRTOUL 1
# | #define HAVE_BCOPY 1
# | #define HAVE_BCMP 1
# | #define HAVE_BZERO 1
# | #define HAVE_STRCASECMP 1
# | #define GOT_STRCASECMP /**/
# | #define HAVE_INET_ADDR 1
# | #define HAVE_INET_NTOA 1
# | #define HAVE_SYSLOG 1
# | #define HAVE_SYSLOG /**/
# | #define NICKNAMEHISTORYLENGTH 2000
# | #define MAXSENDQLENGTH 3000000
# | #define DEFAULT_PERMISSIONS 00644
# | #define BINDIR "/usr/bin"
# | #define SCRIPTDIR "/usr"
# | #define CONFDIR "/etc/unrealircd"
# | #define MODULESDIR "/usr/lib/unrealircd"
# | #define LOGDIR "/var/log/unrealircd"
# | #define CACHEDIR "/var/cache/unrealircd"
# | #define TMPDIR "/tmp"
# | #define PERMDATADIR "/var/lib/unrealircd"
# | #define DOCDIR "/usr/share/doc/unrealircd"
# | #define PIDFILE "/run/unrealircd/ircd.pid"
# | #define MAXCONNECTIONS 1024
# | #define PREFIX_AQ /**/
# | #define LIST_SHOW_MODES /**/
# | #define HAVE_POLL 1
# | #define HAVE_POLL /**/
# | #define HAVE_EPOLL_CREATE 1
# | #define HAVE_EPOLL /**/
# | #define HAVE_EPOLL_CTL 1
# | #define HAVE_EPOLL /**/
# | #define HAVE_EPOLL_WAIT 1
# | #define HAVE_EPOLL /**/
# | /* end confdefs.h. */
# | #include
# | static void routine(void *a) { a = 0; }
# | static void *start_routine(void *a) { return a; }
# | int
# | main ()
# | {
# | pthread_t th; pthread_attr_t attr;
# | pthread_create(&th, 0, start_routine, 0);
# | pthread_join(th, 0);
# | pthread_attr_init(&attr);
# | pthread_cleanup_push(routine, 0);
# | pthread_cleanup_pop(0) /* ; */
# | ;
# | return 0;
# | }
# configure:7448: result: no
# configure:7346: checking whether pthreads work without any flags
# configure:7439: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# conftest.c:72:9: warning: 'HAVE_SYSLOG' macro redefined [-Wmacro-redefined]
# #define HAVE_SYSLOG /**/
# ^
# conftest.c:71:9: note: previous definition is here
# #define HAVE_SYSLOG 1
# ^
# conftest.c:90:9: warning: 'HAVE_POLL' macro redefined [-Wmacro-redefined]
# #define HAVE_POLL /**/
# ^
# conftest.c:89:9: note: previous definition is here
# #define HAVE_POLL 1
# ^
# 6 warnings generated.
# /tmp/conftest-49c49d.o: In function `main':
# conftest.c:(.text+0x28): undefined reference to `pthread_create'
# conftest.c:(.text+0x3d): undefined reference to `pthread_join'
# conftest.c:(.text+0xbe): undefined reference to `__pthread_register_cancel'
# conftest.c:(.text+0xd9): undefined reference to `__pthread_unregister_cancel'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:7439: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | #define GLOBH /**/
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_INTPTR_T 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_WAIT_H 1
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_INT 4
# | #define SIZEOF_LONG 8
# | #define SIZEOF_RLIM_T 0
# | #define NBLOCK_POSIX /**/
# | #define SETPGRP_VOID 1
# | #define HAVE_SNPRINTF 1
# | #define HAVE_SNPRINTF /**/
# | #define HAVE_VSNPRINTF 1
# | #define HAVE_VSNPRINTF /**/
# | #define HAVE_INET_PTON 1
# | #define HAVE_INET_PTON /**/
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_NTOP /**/
# | #define FORCE_CORE /**/
# | #define HAVE_VPRINTF 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define GETTIMEOFDAY /**/
# | #define HAVE_GETRUSAGE 1
# | #define GETRUSAGE_2 /**/
# | #define POSIX_SIGNALS /**/
# | #define NEED_STRTOKEN /**/
# | #define HAVE_STRTOK 1
# | #define HAVE_STRERROR 1
# | #define HAVE_INDEX 1
# | #define HAVE_STRTOUL 1
# | #define HAVE_BCOPY 1
# | #define HAVE_BCMP 1
# | #define HAVE_BZERO 1
# | #define HAVE_STRCASECMP 1
# | #define GOT_STRCASECMP /**/
# | #define HAVE_INET_ADDR 1
# | #define HAVE_INET_NTOA 1
# | #define HAVE_SYSLOG 1
# | #define HAVE_SYSLOG /**/
# | #define NICKNAMEHISTORYLENGTH 2000
# | #define MAXSENDQLENGTH 3000000
# | #define DEFAULT_PERMISSIONS 00644
# | #define BINDIR "/usr/bin"
# | #define SCRIPTDIR "/usr"
# | #define CONFDIR "/etc/unrealircd"
# | #define MODULESDIR "/usr/lib/unrealircd"
# | #define LOGDIR "/var/log/unrealircd"
# | #define CACHEDIR "/var/cache/unrealircd"
# | #define TMPDIR "/tmp"
# | #define PERMDATADIR "/var/lib/unrealircd"
# | #define DOCDIR "/usr/share/doc/unrealircd"
# | #define PIDFILE "/run/unrealircd/ircd.pid"
# | #define MAXCONNECTIONS 1024
# | #define PREFIX_AQ /**/
# | #define LIST_SHOW_MODES /**/
# | #define HAVE_POLL 1
# | #define HAVE_POLL /**/
# | #define HAVE_EPOLL_CREATE 1
# | #define HAVE_EPOLL /**/
# | #define HAVE_EPOLL_CTL 1
# | #define HAVE_EPOLL /**/
# | #define HAVE_EPOLL_WAIT 1
# | #define HAVE_EPOLL /**/
# | /* end confdefs.h. */
# | #include
# | static void routine(void *a) { a = 0; }
# | static void *start_routine(void *a) { return a; }
# | int
# | main ()
# | {
# | pthread_t th; pthread_attr_t attr;
# | pthread_create(&th, 0, start_routine, 0);
# | pthread_join(th, 0);
# | pthread_attr_init(&attr);
# | pthread_cleanup_push(routine, 0);
# | pthread_cleanup_pop(0) /* ; */
# | ;
# | return 0;
# | }
# configure:7448: result: no
# configure:7351: checking whether pthreads work with -Kthread
# configure:7439: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Kthread conftest.c >&5
# clang-3.8: error: unknown argument: '-Kthread'
# configure:7439: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | #define GLOBH /**/
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_INTPTR_T 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_WAIT_H 1
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_INT 4
# | #define SIZEOF_LONG 8
# | #define SIZEOF_RLIM_T 0
# | #define NBLOCK_POSIX /**/
# | #define SETPGRP_VOID 1
# | #define HAVE_SNPRINTF 1
# | #define HAVE_SNPRINTF /**/
# | #define HAVE_VSNPRINTF 1
# | #define HAVE_VSNPRINTF /**/
# | #define HAVE_INET_PTON 1
# | #define HAVE_INET_PTON /**/
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_NTOP /**/
# | #define FORCE_CORE /**/
# | #define HAVE_VPRINTF 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define GETTIMEOFDAY /**/
# | #define HAVE_GETRUSAGE 1
# | #define GETRUSAGE_2 /**/
# | #define POSIX_SIGNALS /**/
# | #define NEED_STRTOKEN /**/
# | #define HAVE_STRTOK 1
# | #define HAVE_STRERROR 1
# | #define HAVE_INDEX 1
# | #define HAVE_STRTOUL 1
# | #define HAVE_BCOPY 1
# | #define HAVE_BCMP 1
# | #define HAVE_BZERO 1
# | #define HAVE_STRCASECMP 1
# | #define GOT_STRCASECMP /**/
# | #define HAVE_INET_ADDR 1
# | #define HAVE_INET_NTOA 1
# | #define HAVE_SYSLOG 1
# | #define HAVE_SYSLOG /**/
# | #define NICKNAMEHISTORYLENGTH 2000
# | #define MAXSENDQLENGTH 3000000
# | #define DEFAULT_PERMISSIONS 00644
# | #define BINDIR "/usr/bin"
# | #define SCRIPTDIR "/usr"
# | #define CONFDIR "/etc/unrealircd"
# | #define MODULESDIR "/usr/lib/unrealircd"
# | #define LOGDIR "/var/log/unrealircd"
# | #define CACHEDIR "/var/cache/unrealircd"
# | #define TMPDIR "/tmp"
# | #define PERMDATADIR "/var/lib/unrealircd"
# | #define DOCDIR "/usr/share/doc/unrealircd"
# | #define PIDFILE "/run/unrealircd/ircd.pid"
# | #define MAXCONNECTIONS 1024
# | #define PREFIX_AQ /**/
# | #define LIST_SHOW_MODES /**/
# | #define HAVE_POLL 1
# | #define HAVE_POLL /**/
# | #define HAVE_EPOLL_CREATE 1
# | #define HAVE_EPOLL /**/
# | #define HAVE_EPOLL_CTL 1
# | #define HAVE_EPOLL /**/
# | #define HAVE_EPOLL_WAIT 1
# | #define HAVE_EPOLL /**/
# | /* end confdefs.h. */
# | #include
# | static void routine(void *a) { a = 0; }
# | static void *start_routine(void *a) { return a; }
# | int
# | main ()
# | {
# | pthread_t th; pthread_attr_t attr;
# | pthread_create(&th, 0, start_routine, 0);
# | pthread_join(th, 0);
# | pthread_attr_init(&attr);
# | pthread_cleanup_push(routine, 0);
# | pthread_cleanup_pop(0) /* ; */
# | ;
# | return 0;
# | }
# configure:7448: result: no
# configure:7351: checking whether pthreads work with -kthread
# configure:7439: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -kthread conftest.c >&5
# clang-3.8: error: unknown argument: '-kthread'
# configure:7439: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | #define GLOBH /**/
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_INTPTR_T 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_WAIT_H 1
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_INT 4
# | #define SIZEOF_LONG 8
# | #define SIZEOF_RLIM_T 0
# | #define NBLOCK_POSIX /**/
# | #define SETPGRP_VOID 1
# | #define HAVE_SNPRINTF 1
# | #define HAVE_SNPRINTF /**/
# | #define HAVE_VSNPRINTF 1
# | #define HAVE_VSNPRINTF /**/
# | #define HAVE_INET_PTON 1
# | #define HAVE_INET_PTON /**/
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_NTOP /**/
# | #define FORCE_CORE /**/
# | #define HAVE_VPRINTF 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define GETTIMEOFDAY /**/
# | #define HAVE_GETRUSAGE 1
# | #define GETRUSAGE_2 /**/
# | #define POSIX_SIGNALS /**/
# | #define NEED_STRTOKEN /**/
# | #define HAVE_STRTOK 1
# | #define HAVE_STRERROR 1
# | #define HAVE_INDEX 1
# | #define HAVE_STRTOUL 1
# | #define HAVE_BCOPY 1
# | #define HAVE_BCMP 1
# | #define HAVE_BZERO 1
# | #define HAVE_STRCASECMP 1
# | #define GOT_STRCASECMP /**/
# | #define HAVE_INET_ADDR 1
# | #define HAVE_INET_NTOA 1
# | #define HAVE_SYSLOG 1
# | #define HAVE_SYSLOG /**/
# | #define NICKNAMEHISTORYLENGTH 2000
# | #define MAXSENDQLENGTH 3000000
# | #define DEFAULT_PERMISSIONS 00644
# | #define BINDIR "/usr/bin"
# | #define SCRIPTDIR "/usr"
# | #define CONFDIR "/etc/unrealircd"
# | #define MODULESDIR "/usr/lib/unrealircd"
# | #define LOGDIR "/var/log/unrealircd"
# | #define CACHEDIR "/var/cache/unrealircd"
# | #define TMPDIR "/tmp"
# | #define PERMDATADIR "/var/lib/unrealircd"
# | #define DOCDIR "/usr/share/doc/unrealircd"
# | #define PIDFILE "/run/unrealircd/ircd.pid"
# | #define MAXCONNECTIONS 1024
# | #define PREFIX_AQ /**/
# | #define LIST_SHOW_MODES /**/
# | #define HAVE_POLL 1
# | #define HAVE_POLL /**/
# | #define HAVE_EPOLL_CREATE 1
# | #define HAVE_EPOLL /**/
# | #define HAVE_EPOLL_CTL 1
# | #define HAVE_EPOLL /**/
# | #define HAVE_EPOLL_WAIT 1
# | #define HAVE_EPOLL /**/
# | /* end confdefs.h. */
# | #include
# | static void routine(void *a) { a = 0; }
# | static void *start_routine(void *a) { return a; }
# | int
# | main ()
# | {
# | pthread_t th; pthread_attr_t attr;
# | pthread_create(&th, 0, start_routine, 0);
# | pthread_join(th, 0);
# | pthread_attr_init(&attr);
# | pthread_cleanup_push(routine, 0);
# | pthread_cleanup_pop(0) /* ; */
# | ;
# | return 0;
# | }
# configure:7448: result: no
# configure:7401: checking for the pthreads library -llthread
# configure:7439: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c -llthread >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# conftest.c:72:9: warning: 'HAVE_SYSLOG' macro redefined [-Wmacro-redefined]
# #define HAVE_SYSLOG /**/
# ^
# conftest.c:71:9: note: previous definition is here
# #define HAVE_SYSLOG 1
# ^
# conftest.c:90:9: warning: 'HAVE_POLL' macro redefined [-Wmacro-redefined]
# #define HAVE_POLL /**/
# ^
# conftest.c:89:9: note: previous definition is here
# #define HAVE_POLL 1
# ^
# 6 warnings generated.
# /usr/bin/ld: cannot find -llthread
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:7439: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | #define HAVE_RAND_EGD 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define PARAMH /**/
# | #define STDLIBH /**/
# | #define STDDEFH /**/
# | #define SYSSYSLOGH /**/
# | #define UNISTDH /**/
# | #define STRINGH /**/
# | #define STRINGSH /**/
# | #define MALLOCH
# | #define GLOBH /**/
# | #define HAVE_STDINT_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_INTPTR_T 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_WAIT_H 1
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_INT 4
# | #define SIZEOF_LONG 8
# | #define SIZEOF_RLIM_T 0
# | #define NBLOCK_POSIX /**/
# | #define SETPGRP_VOID 1
# | #define HAVE_SNPRINTF 1
# | #define HAVE_SNPRINTF /**/
# | #define HAVE_VSNPRINTF 1
# | #define HAVE_VSNPRINTF /**/
# | #define HAVE_INET_PTON 1
# | #define HAVE_INET_PTON /**/
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_NTOP /**/
# | #define FORCE_CORE /**/
# | #define HAVE_VPRINTF 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define GETTIMEOFDAY /**/
# | #define HAVE_GETRUSAGE 1
# | #define GETRUSAGE_2 /**/
# | #define POSIX_SIGNALS /**/
# | #define NEED_STRTOKEN /**/
# | #define HAVE_STRTOK 1
# | #define HAVE_STRERROR 1
# | #define HAVE_INDEX 1
# | #define HAVE_STRTOUL 1
# | #define HAVE_BCOPY 1
# | #define HAVE_BCMP 1
# | #define HAVE_BZERO 1
# | #define HAVE_STRCASECMP 1
# | #define GOT_STRCASECMP /**/
# | #define HAVE_INET_ADDR 1
# | #define HAVE_INET_NTOA 1
# | #define HAVE_SYSLOG 1
# | #define HAVE_SYSLOG /**/
# | #define NICKNAMEHISTORYLENGTH 2000
# | #define MAXSENDQLENGTH 3000000
# | #define DEFAULT_PERMISSIONS 00644
# | #define BINDIR "/usr/bin"
# | #define SCRIPTDIR "/usr"
# | #define CONFDIR "/etc/unrealircd"
# | #define MODULESDIR "/usr/lib/unrealircd"
# | #define LOGDIR "/var/log/unrealircd"
# | #define CACHEDIR "/var/cache/unrealircd"
# | #define TMPDIR "/tmp"
# | #define PERMDATADIR "/var/lib/unrealircd"
# | #define DOCDIR "/usr/share/doc/unrealircd"
# | #define PIDFILE "/run/unrealircd/ircd.pid"
# | #define MAXCONNECTIONS 1024
# | #define PREFIX_AQ /**/
# | #define LIST_SHOW_MODES /**/
# | #define HAVE_POLL 1
# | #define HAVE_POLL /**/
# | #define HAVE_EPOLL_CREATE 1
# | #define HAVE_EPOLL /**/
# | #define HAVE_EPOLL_CTL 1
# | #define HAVE_EPOLL /**/
# | #define HAVE_EPOLL_WAIT 1
# | #define HAVE_EPOLL /**/
# | /* end confdefs.h. */
# | #include
# | static void routine(void *a) { a = 0; }
# | static void *start_routine(void *a) { return a; }
# | int
# | main ()
# | {
# | pthread_t th; pthread_attr_t attr;
# | pthread_create(&th, 0, start_routine, 0);
# | pthread_join(th, 0);
# | pthread_attr_init(&attr);
# | pthread_cleanup_push(routine, 0);
# | pthread_cleanup_pop(0) /* ; */
# | ;
# | return 0;
# | }
# configure:7448: result: no
# configure:7351: checking whether pthreads work with -pthread
# configure:7439: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -pthread conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# conftest.c:72:9: warning: 'HAVE_SYSLOG' macro redefined [-Wmacro-redefined]
# #define HAVE_SYSLOG /**/
# ^
# conftest.c:71:9: note: previous definition is here
# #define HAVE_SYSLOG 1
# ^
# conftest.c:90:9: warning: 'HAVE_POLL' macro redefined [-Wmacro-redefined]
# #define HAVE_POLL /**/
# ^
# conftest.c:89:9: note: previous definition is here
# #define HAVE_POLL 1
# ^
# 6 warnings generated.
# configure:7439: $? = 0
# configure:7448: result: yes
# configure:7467: checking for joinable pthread attribute
# configure:7482: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -pthread conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# conftest.c:72:9: warning: 'HAVE_SYSLOG' macro redefined [-Wmacro-redefined]
# #define HAVE_SYSLOG /**/
# ^
# conftest.c:71:9: note: previous definition is here
# #define HAVE_SYSLOG 1
# ^
# conftest.c:90:9: warning: 'HAVE_POLL' macro redefined [-Wmacro-redefined]
# #define HAVE_POLL /**/
# ^
# conftest.c:89:9: note: previous definition is here
# #define HAVE_POLL 1
# ^
# 6 warnings generated.
# configure:7482: $? = 0
# configure:7488: result: PTHREAD_CREATE_JOINABLE
# configure:7498: checking if more special flags are required for pthreads
# configure:7513: result: no
# configure:7519: checking for PTHREAD_PRIO_INHERIT
# configure:7536: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -pthread conftest.c >&5
# conftest.c:45:9: warning: 'HAVE_SNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_SNPRINTF /**/
# ^
# conftest.c:44:9: note: previous definition is here
# #define HAVE_SNPRINTF 1
# ^
# conftest.c:47:9: warning: 'HAVE_VSNPRINTF' macro redefined [-Wmacro-redefined]
# #define HAVE_VSNPRINTF /**/
# ^
# conftest.c:46:9: note: previous definition is here
# #define HAVE_VSNPRINTF 1
# ^
# conftest.c:49:9: warning: 'HAVE_INET_PTON' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_PTON /**/
# ^
# conftest.c:48:9: note: previous definition is here
# #define HAVE_INET_PTON 1
# ^
# conftest.c:51:9: warning: 'HAVE_INET_NTOP' macro redefined [-Wmacro-redefined]
# #define HAVE_INET_NTOP /**/
# ^
# conftest.c:50:9: note: previous definition is here
# #define HAVE_INET_NTOP 1
# ^
# conftest.c:72:9: warning: 'HAVE_SYSLOG' macro redefined [-Wmacro-redefined]
# #define HAVE_SYSLOG /**/
# ^
# conftest.c:71:9: note: previous definition is here
# #define HAVE_SYSLOG 1
# ^
# conftest.c:90:9: warning: 'HAVE_POLL' macro redefined [-Wmacro-redefined]
# #define HAVE_POLL /**/
# ^
# conftest.c:89:9: note: previous definition is here
# #define HAVE_POLL 1
# ^
# 6 warnings generated.
# configure:7536: $? = 0
# configure:7545: result: yes
# configure:7903: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by unrealircd config.status 4.0.4, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on 69347dba162c
#
# config.status:935: creating Makefile
# config.status:935: creating src/modules/Makefile
# config.status:935: creating src/modules/chanmodes/Makefile
# config.status:935: creating src/modules/usermodes/Makefile
# config.status:935: creating src/modules/snomasks/Makefile
# config.status:935: creating src/modules/extbans/Makefile
# config.status:935: creating src/modules/third/Makefile
# config.status:935: creating unrealircd
# config.status:935: creating include/setup.h
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-linux-gnu
# ac_cv_c_compiler_gnu=yes
# ac_cv_c_const=yes
# ac_cv_c_inline=inline
# ac_cv_env_CARES_CFLAGS_set=
# ac_cv_env_CARES_CFLAGS_value=
# ac_cv_env_CARES_LIBS_set=
# ac_cv_env_CARES_LIBS_value=
# ac_cv_env_CC_set=set
# ac_cv_env_CC_value=clang
# ac_cv_env_CFLAGS_set=set
# ac_cv_env_CFLAGS_value=
# ac_cv_env_CPPFLAGS_set=set
# ac_cv_env_CPPFLAGS_value=
# ac_cv_env_CPP_set=
# ac_cv_env_CPP_value=
# ac_cv_env_LDFLAGS_set=set
# ac_cv_env_LDFLAGS_value=
# ac_cv_env_LIBS_set=
# ac_cv_env_LIBS_value=
# ac_cv_env_PCRE2_CFLAGS_set=
# ac_cv_env_PCRE2_CFLAGS_value=
# ac_cv_env_PCRE2_LIBS_set=
# ac_cv_env_PCRE2_LIBS_value=
# ac_cv_env_PKG_CONFIG_LIBDIR_set=
# ac_cv_env_PKG_CONFIG_LIBDIR_value=
# ac_cv_env_PKG_CONFIG_PATH_set=
# ac_cv_env_PKG_CONFIG_PATH_value=
# ac_cv_env_PKG_CONFIG_set=
# ac_cv_env_PKG_CONFIG_value=
# ac_cv_env_TRE_CFLAGS_set=
# ac_cv_env_TRE_CFLAGS_value=
# ac_cv_env_TRE_LIBS_set=
# ac_cv_env_TRE_LIBS_value=
# ac_cv_env_build_alias_set=
# ac_cv_env_build_alias_value=
# ac_cv_env_host_alias_set=set
# ac_cv_env_host_alias_value=x86_64-unknown-linux
# ac_cv_env_target_alias_set=
# ac_cv_env_target_alias_value=
# ac_cv_export_dynamic=yes
# ac_cv_force_core=yes
# ac_cv_func__doprnt=no
# ac_cv_func_bcmp=yes
# ac_cv_func_bcopy=yes
# ac_cv_func_bzero=yes
# ac_cv_func_dlopen=no
# ac_cv_func_epoll_create=yes
# ac_cv_func_epoll_ctl=yes
# ac_cv_func_epoll_wait=yes
# ac_cv_func_getrusage=yes
# ac_cv_func_gettimeofday=yes
# ac_cv_func_index=yes
# ac_cv_func_inet_addr=yes
# ac_cv_func_inet_ntoa=yes
# ac_cv_func_inet_ntop=yes
# ac_cv_func_inet_pton=yes
# ac_cv_func_kevent=no
# ac_cv_func_kqueue=no
# ac_cv_func_poll=yes
# ac_cv_func_pstat=no
# ac_cv_func_setpgrp_void=yes
# ac_cv_func_setproctitle=no
# ac_cv_func_setvbuf_reversed=no
# ac_cv_func_snprintf=yes
# ac_cv_func_strcasecmp=yes
# ac_cv_func_strerror=yes
# ac_cv_func_strlcat=no
# ac_cv_func_strlcpy=no
# ac_cv_func_strlncat=no
# ac_cv_func_strtok=yes
# ac_cv_func_strtoken=no
# ac_cv_func_strtoul=yes
# ac_cv_func_syslog=yes
# ac_cv_func_vprintf=yes
# ac_cv_func_vsnprintf=yes
# ac_cv_header_glob_h=yes
# ac_cv_header_inttypes_h=yes
# ac_cv_header_malloc_h=yes
# ac_cv_header_memory_h=yes
# ac_cv_header_stdc=yes
# ac_cv_header_stddef_h=yes
# ac_cv_header_stdint_h=yes
# ac_cv_header_stdlib_h=yes
# ac_cv_header_string_h=yes
# ac_cv_header_strings_h=yes
# ac_cv_header_sys_param_h=yes
# ac_cv_header_sys_rusage_h=no
# ac_cv_header_sys_stat_h=yes
# ac_cv_header_sys_syslog_h=yes
# ac_cv_header_sys_types_h=yes
# ac_cv_header_sys_wait_h=yes
# ac_cv_header_time=yes
# ac_cv_header_unistd_h=yes
# ac_cv_host=x86_64-unknown-linux-gnu
# ac_cv_ip6=yes
# ac_cv_lib_crypt_crypt=yes
# ac_cv_lib_crypto_RAND_egd=yes
# ac_cv_lib_descrypt_crypt=no
# ac_cv_lib_dl_dlopen=yes
# ac_cv_lib_nsl_inet_ntoa=yes
# ac_cv_lib_socket_socket=no
# ac_cv_lib_util_setproctitle=no
# ac_cv_nonblocking=O_NONBLOCK
# ac_cv_objext=o
# ac_cv_path_CP=/usr/bin/cp
# ac_cv_path_EGREP='/usr/bin/grep -E'
# ac_cv_path_GREP=/usr/bin/grep
# ac_cv_path_GUNZIP=/usr/bin/gunzip
# ac_cv_path_INSTALL=/usr/bin/install
# ac_cv_path_OPENSSLPATH=/usr/bin/openssl
# ac_cv_path_PKGCONFIG=/usr/bin/pkg-config
# ac_cv_path_RM=/usr/bin/rm
# ac_cv_path_TOUCH=/usr/bin/touch
# ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
# ac_cv_pic='-fPIC -DPIC -shared'
# ac_cv_pipe=yes
# ac_cv_prog_CC=clang
# ac_cv_prog_CPP='clang -E'
# ac_cv_prog_MAKER=make
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
# ac_cv_prog_gcc_traditional=no
# ac_cv_sigtype=POSIX
# ac_cv_sizeof_int=4
# ac_cv_sizeof_long=8
# ac_cv_sizeof_rlim_t=0
# ac_cv_sizeof_short=2
# ac_cv_struct_tm=time.h
# ac_cv_type_int16_t=yes
# ac_cv_type_int32_t=yes
# ac_cv_type_intptr_t=yes
# ac_cv_type_mode_t=yes
# ac_cv_type_size_t=yes
# ac_cv_type_u_int16_t=yes
# ac_cv_type_u_int32_t=yes
# ac_cv_type_uid_t=yes
# ac_cv_underscore=no
# ac_cv_varlen_arrays=no
# ax_cv_PTHREAD_PRIO_INHERIT=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# BINDIR='/usr/bin'
# BUILDDIR='/tmp/unrealircd/src/unrealircd-4.0.4'
# CACHEDIR='/var/cache/unrealircd'
# CARES_CFLAGS='-I/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/include'
# CARES_LIBS='-L../extras/c-ares/lib /tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares/lib/libcares.a'
# CC='clang'
# CFLAGS='-pipe -funsigned-char -Wl,-export-dynamic'
# CONFDIR='/etc/unrealircd'
# CP='/usr/bin/cp'
# CPP='clang -E'
# CPPFLAGS=''
# CRYPTOLIB='-lssl -lcrypto'
# DEFS='-DHAVE_CONFIG_H'
# DOCDIR='/usr/share/doc/unrealircd'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='/usr/bin/grep -E'
# EXEEXT=''
# FD_SETSIZE=''
# GMAKE=''
# GREP='/usr/bin/grep'
# GUNZIP='/usr/bin/gunzip'
# INSTALL='/usr/bin/install'
# IRCDLIBS='-lcrypt -lnsl -ldl'
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LOGDIR='/var/log/unrealircd'
# LTLIBOBJS=''
# MAKER='make'
# MKPASSWDLIBS='-lcrypt'
# MODULEFLAGS='-fPIC -DPIC -shared'
# MODULESDIR='/usr/lib/unrealircd'
# OBJEXT='o'
# OPENSSLPATH='/usr/bin/openssl'
# PACKAGE_BUGREPORT='http://bugs.unrealircd.org/'
# PACKAGE_NAME='unrealircd'
# PACKAGE_STRING='unrealircd 4.0.4'
# PACKAGE_TARNAME='unrealircd'
# PACKAGE_URL='http://unrealircd.org/'
# PACKAGE_VERSION='4.0.4'
# PATH_SEPARATOR=':'
# PCRE2_CFLAGS='-I/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/include'
# PCRE2_LIBS='-L/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2/lib -lpcre2-8 -pthread'
# PERMDATADIR='/var/lib/unrealircd'
# PIDFILE='/run/unrealircd/ircd.pid'
# PKGCONFIG='/usr/bin/pkg-config'
# PKG_CONFIG='/usr/bin/pkg-config'
# PKG_CONFIG_LIBDIR=''
# PKG_CONFIG_PATH=''
# PTHREAD_CC='clang'
# PTHREAD_CFLAGS='-pthread'
# PTHREAD_LIBS=''
# RM='/usr/bin/rm'
# SCRIPTDIR='/usr'
# SHELL='/bin/sh'
# STRTOUL=''
# TMPDIR='/tmp'
# TOUCH='/usr/bin/touch'
# TRE_CFLAGS='-I/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/include'
# TRE_LIBS='/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp/lib/libtre.a '
# UNRLINCDIR='/tmp/unrealircd/src/unrealircd-4.0.4/include'
# URL=''
# ac_ct_CC=''
# ax_pthread_config=''
# bindir='${exec_prefix}/bin'
# build='x86_64-unknown-linux-gnu'
# build_alias=''
# build_cpu='x86_64'
# build_os='linux-gnu'
# build_vendor='unknown'
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# dvidir='${docdir}'
# exec_prefix='${prefix}'
# host='x86_64-unknown-linux-gnu'
# host_alias='x86_64-unknown-linux'
# host_cpu='x86_64'
# host_os='linux-gnu'
# host_vendor='unknown'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/man'
# oldincludedir='/usr/include'
# pdfdir='${docdir}'
# prefix='/usr/local'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "unrealircd"
# #define PACKAGE_TARNAME "unrealircd"
# #define PACKAGE_VERSION "4.0.4"
# #define PACKAGE_STRING "unrealircd 4.0.4"
# #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# #define PACKAGE_URL "http://unrealircd.org/"
# #define UNREAL_VERSION_GENERATION 4
# #define UNREAL_VERSION_MAJOR 0
# #define UNREAL_VERSION_MINOR 4
# #define UNREAL_VERSION_SUFFIX ""
# #define HAVE_CRYPT /**/
# #define HAVE_RAND_EGD 1
# #define STDC_HEADERS 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_STAT_H 1
# #define HAVE_STDLIB_H 1
# #define HAVE_STRING_H 1
# #define HAVE_MEMORY_H 1
# #define HAVE_STRINGS_H 1
# #define HAVE_INTTYPES_H 1
# #define HAVE_STDINT_H 1
# #define HAVE_UNISTD_H 1
# #define PARAMH /**/
# #define STDLIBH /**/
# #define STDDEFH /**/
# #define SYSSYSLOGH /**/
# #define UNISTDH /**/
# #define STRINGH /**/
# #define STRINGSH /**/
# #define MALLOCH
# #define GLOBH /**/
# #define HAVE_STDINT_H 1
# #define HAVE_INTTYPES_H 1
# #define HAVE_INTPTR_T 1
# #define TIME_WITH_SYS_TIME 1
# #define HAVE_SYS_WAIT_H 1
# #define SIZEOF_SHORT 2
# #define SIZEOF_INT 4
# #define SIZEOF_LONG 8
# #define SIZEOF_RLIM_T 0
# #define NBLOCK_POSIX /**/
# #define SETPGRP_VOID 1
# #define HAVE_SNPRINTF 1
# #define HAVE_SNPRINTF /**/
# #define HAVE_VSNPRINTF 1
# #define HAVE_VSNPRINTF /**/
# #define HAVE_INET_PTON 1
# #define HAVE_INET_PTON /**/
# #define HAVE_INET_NTOP 1
# #define HAVE_INET_NTOP /**/
# #define FORCE_CORE /**/
# #define HAVE_VPRINTF 1
# #define HAVE_GETTIMEOFDAY 1
# #define GETTIMEOFDAY /**/
# #define HAVE_GETRUSAGE 1
# #define GETRUSAGE_2 /**/
# #define POSIX_SIGNALS /**/
# #define NEED_STRTOKEN /**/
# #define HAVE_STRTOK 1
# #define HAVE_STRERROR 1
# #define HAVE_INDEX 1
# #define HAVE_STRTOUL 1
# #define HAVE_BCOPY 1
# #define HAVE_BCMP 1
# #define HAVE_BZERO 1
# #define HAVE_STRCASECMP 1
# #define GOT_STRCASECMP /**/
# #define HAVE_INET_ADDR 1
# #define HAVE_INET_NTOA 1
# #define HAVE_SYSLOG 1
# #define HAVE_SYSLOG /**/
# #define NICKNAMEHISTORYLENGTH 2000
# #define MAXSENDQLENGTH 3000000
# #define DEFAULT_PERMISSIONS 00644
# #define BINDIR "/usr/bin"
# #define SCRIPTDIR "/usr"
# #define CONFDIR "/etc/unrealircd"
# #define MODULESDIR "/usr/lib/unrealircd"
# #define LOGDIR "/var/log/unrealircd"
# #define CACHEDIR "/var/cache/unrealircd"
# #define TMPDIR "/tmp"
# #define PERMDATADIR "/var/lib/unrealircd"
# #define DOCDIR "/usr/share/doc/unrealircd"
# #define PIDFILE "/run/unrealircd/ircd.pid"
# #define MAXCONNECTIONS 1024
# #define PREFIX_AQ /**/
# #define LIST_SHOW_MODES /**/
# #define HAVE_POLL 1
# #define HAVE_POLL /**/
# #define HAVE_EPOLL_CREATE 1
# #define HAVE_EPOLL /**/
# #define HAVE_EPOLL_CTL 1
# #define HAVE_EPOLL /**/
# #define HAVE_EPOLL_WAIT 1
# #define HAVE_EPOLL /**/
# #define HAVE_PTHREAD_PRIO_INHERIT 1
# #define HAVE_PTHREAD 1
#
# configure: exit 0

CMD: config logfiles '/tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# It was created by TRE configure 0.8.0, which was
# generated by GNU Autoconf 2.61. Invocation command line was
#
# $ ./configure --disable-agrep --disable-shared --disable-system-abi --disable-wchar --disable-multibyte --prefix=/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 69347dba162c
# uname -m = x86_64
# uname -r = 4.10.6-1-ARCH
# uname -s = Linux
# uname -v = #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017
#
# /usr/bin/uname -p = unknown
# /bin/uname -X = unknown
#
# /bin/arch = unknown
# /usr/bin/arch -k = unknown
# /usr/convex/getsysinfo = unknown
# /usr/bin/hostinfo = unknown
# /bin/machine = unknown
# /usr/bin/oslevel = unknown
# /bin/universe = unknown
#
# PATH: /usr/bin
# PATH: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/bin
# PATH: /usr/lib/jvm/default/bin
# PATH: /usr/bin/site_perl
# PATH: /usr/bin/vendor_perl
# PATH: /usr/bin/core_perl
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:2011: checking build system type
# configure:2029: result: x86_64-unknown-linux-gnu
# configure:2051: checking host system type
# configure:2066: result: x86_64-unknown-linux-gnu
# configure:2088: checking target system type
# configure:2103: result: x86_64-unknown-linux-gnu
# configure:2146: checking for a BSD-compatible install
# configure:2202: result: /usr/bin/install -c
# configure:2213: checking whether build environment is sane
# configure:2256: result: yes
# configure:2284: checking for a thread-safe mkdir -p
# configure:2323: result: /usr/bin/mkdir -p
# configure:2336: checking for gawk
# configure:2352: found /usr/bin/gawk
# configure:2363: result: gawk
# configure:2374: checking whether make sets $(MAKE)
# configure:2395: result: yes
# configure:2634: checking for gcc
# configure:2661: result: clang
# configure:2899: checking for C compiler version
# configure:2906: clang --version >&5
# clang version 3.8.0 (tags/RELEASE_380/final)
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /usr/bin
# configure:2909: $? = 0
# configure:2916: clang -v >&5
# clang version 3.8.0 (tags/RELEASE_380/final)
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /usr/bin
# Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# Selected multilib: .;@m64
# configure:2919: $? = 0
# configure:2926: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:2929: $? = 1
# configure:2952: checking for C compiler default output file name
# configure:2979: clang -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# configure:2982: $? = 0
# configure:3020: result: a.out
# configure:3037: checking whether the C compiler works
# configure:3047: ./a.out
# configure:3050: $? = 0
# configure:3067: result: yes
# configure:3074: checking whether we are cross compiling
# configure:3076: result: no
# configure:3079: checking for suffix of executables
# configure:3086: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# configure:3089: $? = 0
# configure:3113: result:
# configure:3119: checking for suffix of object files
# configure:3145: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:3148: $? = 0
# configure:3171: result: o
# configure:3175: checking whether we are using the GNU C compiler
# configure:3204: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:3210: $? = 0
# configure:3227: result: yes
# configure:3232: checking whether clang accepts -g
# configure:3262: clang -c -g conftest.c >&5
# configure:3268: $? = 0
# configure:3367: result: yes
# configure:3384: checking for clang option to accept ISO C89
# configure:3458: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:3464: $? = 0
# configure:3487: result: none needed
# configure:3516: checking for style of include used by make
# configure:3544: result: GNU
# configure:3569: checking dependency style of clang
# configure:3660: result: gcc3
# configure:3680: checking how to run the C preprocessor
# configure:3720: clang -E conftest.c
# configure:3726: $? = 0
# configure:3757: clang -E conftest.c
# conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:3763: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# | #define PACKAGE_NAME "TRE"
# | #define PACKAGE_TARNAME "tre"
# | #define PACKAGE_VERSION "0.8.0"
# | #define PACKAGE_STRING "TRE 0.8.0"
# | #define PACKAGE_BUGREPORT "tre-general@lists.laurikari.net"
# | #define PACKAGE "tre"
# | #define VERSION "0.8.0"
# | /* end confdefs.h. */
# | #include
# configure:3796: result: clang -E
# configure:3825: clang -E conftest.c
# configure:3831: $? = 0
# configure:3862: clang -E conftest.c
# conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:3868: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# | #define PACKAGE_NAME "TRE"
# | #define PACKAGE_TARNAME "tre"
# | #define PACKAGE_VERSION "0.8.0"
# | #define PACKAGE_STRING "TRE 0.8.0"
# | #define PACKAGE_BUGREPORT "tre-general@lists.laurikari.net"
# | #define PACKAGE "tre"
# | #define VERSION "0.8.0"
# | /* end confdefs.h. */
# | #include
# configure:3918: checking for a BSD-compatible install
# configure:3974: result: /usr/bin/install -c
# configure:3986: checking whether clang and cc understand -c and -o together
# configure:4021: clang -c conftest.c -o conftest2.o >&5
# configure:4024: $? = 0
# configure:4030: clang -c conftest.c -o conftest2.o >&5
# configure:4033: $? = 0
# configure:4044: cc -c conftest.c >&5
# configure:4047: $? = 0
# configure:4055: cc -c conftest.c -o conftest2.o >&5
# configure:4058: $? = 0
# configure:4064: cc -c conftest.c -o conftest2.o >&5
# configure:4067: $? = 0
# configure:4085: result: yes
# configure:4387: checking for an ANSI C-conforming const
# configure:4462: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:4468: $? = 0
# configure:4483: result: yes
# configure:4493: checking for inline
# configure:4519: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:4525: $? = 0
# configure:4543: result: inline
# configure:4569: checking for grep that handles long lines and -e
# configure:4643: result: /usr/bin/grep
# configure:4648: checking for egrep
# configure:4726: result: /usr/bin/grep -E
# configure:4731: checking for ANSI C header files
# configure:4761: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:4767: $? = 0
# configure:4866: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# configure:4869: $? = 0
# configure:4875: ./conftest
# configure:4878: $? = 0
# configure:4895: result: yes
# configure:4930: checking for sys/types.h
# configure:4951: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:4957: $? = 0
# configure:4973: result: yes
# configure:4930: checking for sys/stat.h
# configure:4951: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:4957: $? = 0
# configure:4973: result: yes
# configure:4930: checking for stdlib.h
# configure:4951: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:4957: $? = 0
# configure:4973: result: yes
# configure:4930: checking for string.h
# configure:4951: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:4957: $? = 0
# configure:4973: result: yes
# configure:4930: checking for memory.h
# configure:4951: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:4957: $? = 0
# configure:4973: result: yes
# configure:4930: checking for strings.h
# configure:4951: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:4957: $? = 0
# configure:4973: result: yes
# configure:4930: checking for inttypes.h
# configure:4951: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:4957: $? = 0
# configure:4973: result: yes
# configure:4930: checking for stdint.h
# configure:4951: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:4957: $? = 0
# configure:4973: result: yes
# configure:4930: checking for unistd.h
# configure:4951: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:4957: $? = 0
# configure:4973: result: yes
# configure:4987: checking for working alloca.h
# configure:5014: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# configure:5020: $? = 0
# configure:5037: result: yes
# configure:5047: checking for alloca
# configure:5094: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# configure:5100: $? = 0
# configure:5117: result: yes
# configure:5863: checking for isascii
# configure:5919: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# configure:5925: $? = 0
# configure:5943: result: yes
# configure:5863: checking for isblank
# configure:5919: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# configure:5925: $? = 0
# configure:5943: result: yes
# configure:5969: checking getopt.h usability
# configure:5986: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:5992: $? = 0
# configure:6006: result: yes
# configure:6010: checking getopt.h presence
# configure:6025: clang -E conftest.c
# configure:6031: $? = 0
# configure:6045: result: yes
# configure:6078: checking for getopt.h
# configure:6086: result: yes
# configure:6103: checking for getopt_long
# configure:6159: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# configure:6165: $? = 0
# configure:6183: result: yes
# configure:7612: checking for special C compiler options needed for large files
# configure:7705: result: no
# configure:7711: checking for _FILE_OFFSET_BITS value needed for large files
# configure:7746: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:7752: $? = 0
# configure:7820: result: no
# configure:7957: checking whether NLS is requested
# configure:7966: result: yes
# configure:8007: checking for msgfmt
# configure: trying /usr/bin/msgfmt...
# 0 translated messages.
# configure:8039: result: /usr/bin/msgfmt
# configure:8048: checking for gmsgfmt
# configure:8079: result: /usr/bin/msgfmt
# configure:8130: checking for xgettext
# configure: trying /usr/bin/xgettext...
# /usr/bin/xgettext: warning: file '/dev/null' extension '' is unknown; will try C
# configure:8162: result: /usr/bin/xgettext
# configure:8208: checking for msgmerge
# configure: trying /usr/bin/msgmerge...
# configure:8239: result: /usr/bin/msgmerge
# configure:8296: checking for ld used by GCC
# configure:8360: result: /usr/bin/ld
# configure:8369: checking if the linker (/usr/bin/ld) is GNU ld
# configure:8382: result: yes
# configure:8389: checking for shared library run path origin
# configure:8402: result: done
# configure:8903: checking for CFPreferencesCopyAppValue
# configure:8931: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c -Wl,-framework -Wl,CoreFoundation >&5
# conftest.c:35:10: fatal error: 'CoreFoundation/CFPreferences.h' file not found
# #include
# ^
# 1 error generated.
# configure:8937: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# | #define PACKAGE_NAME "TRE"
# | #define PACKAGE_TARNAME "tre"
# | #define PACKAGE_VERSION "0.8.0"
# | #define PACKAGE_STRING "TRE 0.8.0"
# | #define PACKAGE_BUGREPORT "tre-general@lists.laurikari.net"
# | #define PACKAGE "tre"
# | #define VERSION "0.8.0"
# | #define TRE_VERSION "0.8.0"
# | #define TRE_VERSION_1 0
# | #define TRE_VERSION_2 8
# | #define TRE_VERSION_3 0
# | #define NDEBUG 1
# | #define TRE_APPROX 1
# | #define _GNU_SOURCE 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_ALLOCA 1
# | #define TRE_USE_ALLOCA 1
# | #define TRE_REGEX_T_FIELD value
# | #define HAVE_ISASCII 1
# | #define HAVE_ISBLANK 1
# | #define HAVE_GETOPT_H 1
# | #define HAVE_GETOPT_LONG 1
# | /* end confdefs.h. */
# | #include
# | int
# | main ()
# | {
# | CFPreferencesCopyAppValue(NULL, NULL)
# | ;
# | return 0;
# | }
# configure:8955: result: no
# configure:8964: checking for CFLocaleCopyCurrent
# configure:8992: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c -Wl,-framework -Wl,CoreFoundation >&5
# conftest.c:35:10: fatal error: 'CoreFoundation/CFLocale.h' file not found
# #include
# ^
# 1 error generated.
# configure:8998: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# | #define PACKAGE_NAME "TRE"
# | #define PACKAGE_TARNAME "tre"
# | #define PACKAGE_VERSION "0.8.0"
# | #define PACKAGE_STRING "TRE 0.8.0"
# | #define PACKAGE_BUGREPORT "tre-general@lists.laurikari.net"
# | #define PACKAGE "tre"
# | #define VERSION "0.8.0"
# | #define TRE_VERSION "0.8.0"
# | #define TRE_VERSION_1 0
# | #define TRE_VERSION_2 8
# | #define TRE_VERSION_3 0
# | #define NDEBUG 1
# | #define TRE_APPROX 1
# | #define _GNU_SOURCE 1
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_ALLOCA_H 1
# | #define HAVE_ALLOCA 1
# | #define TRE_USE_ALLOCA 1
# | #define TRE_REGEX_T_FIELD value
# | #define HAVE_ISASCII 1
# | #define HAVE_ISBLANK 1
# | #define HAVE_GETOPT_H 1
# | #define HAVE_GETOPT_LONG 1
# | /* end confdefs.h. */
# | #include
# | int
# | main ()
# | {
# | CFLocaleCopyCurrent();
# | ;
# | return 0;
# | }
# configure:9016: result: no
# configure:9067: checking for GNU gettext in libc
# configure:9097: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# configure:9103: $? = 0
# configure:9121: result: yes
# configure:10005: checking whether to use NLS
# configure:10007: result: yes
# configure:10010: checking where the gettext function comes from
# configure:10021: result: libc
# configure:10159: checking for a sed that does not truncate output
# configure:10215: result: /usr/bin/sed
# configure:10229: checking for ld used by clang
# configure:10296: result: /usr/bin/ld
# configure:10305: checking if the linker (/usr/bin/ld) is GNU ld
# configure:10320: result: yes
# configure:10325: checking for /usr/bin/ld option to reload object files
# configure:10332: result: -r
# configure:10350: checking for BSD-compatible nm
# configure:10399: result: /usr/bin/nm -B
# configure:10403: checking whether ln -s works
# configure:10407: result: yes
# configure:10414: checking how to recognize dependent libraries
# configure:10600: result: pass_all
# configure:10688: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:10691: $? = 0
# configure:11144: checking dlfcn.h usability
# configure:11161: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:11167: $? = 0
# configure:11181: result: yes
# configure:11185: checking dlfcn.h presence
# configure:11200: clang -E conftest.c
# configure:11206: $? = 0
# configure:11220: result: yes
# configure:11253: checking for dlfcn.h
# configure:11261: result: yes
# configure:11277: checking the maximum length of command line arguments
# configure:11389: result: 1572864
# configure:11401: checking command to parse /usr/bin/nm -B output from clang object
# configure:11506: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:11509: $? = 0
# configure:11513: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm
# configure:11516: $? = 0
# configure:11568: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c conftstm.o >&5
# configure:11571: $? = 0
# configure:11609: result: ok
# configure:11613: checking for objdir
# configure:11628: result: .libs
# configure:11720: checking for ar
# configure:11736: found /usr/bin/ar
# configure:11747: result: ar
# configure:11816: checking for ranlib
# configure:11832: found /usr/bin/ranlib
# configure:11843: result: ranlib
# configure:11912: checking for strip
# configure:11928: found /usr/bin/strip
# configure:11939: result: strip
# configure:12537: checking if clang supports -fno-rtti -fno-exceptions
# configure:12555: clang -c -pipe -funsigned-char -Wl,-export-dynamic -fno-rtti -fno-exceptions conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:12559: $? = 0
# configure:12572: result: yes
# configure:12587: checking for clang option to produce PIC
# configure:12819: result: -fPIC
# configure:12827: checking if clang PIC flag -fPIC works
# configure:12845: clang -c -pipe -funsigned-char -Wl,-export-dynamic -fPIC -DPIC conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:12849: $? = 0
# configure:12862: result: yes
# configure:12890: checking if clang static flag -static works
# configure:12918: result: no
# configure:12928: checking if clang supports -c -o file.o
# configure:12949: clang -c -pipe -funsigned-char -Wl,-export-dynamic -o out/conftest2.o conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:12953: $? = 0
# configure:12975: result: yes
# configure:13001: checking whether the clang linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
# configure:13982: result: yes
# configure:14049: checking dynamic linker characteristics
# configure:14663: result: GNU/Linux ld.so
# configure:14687: checking how to hardcode library paths into programs
# configure:14712: result: immediate
# configure:14726: checking whether stripping libraries is possible
# configure:14731: result: yes
# configure:15533: checking if libtool supports shared libraries
# configure:15535: result: yes
# configure:15538: checking whether to build shared libraries
# configure:15559: result: no
# configure:15562: checking whether to build static libraries
# configure:15566: result: yes
# configure:15660: creating libtool
# configure:16293: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by TRE config.status 0.8.0, which was
# generated by GNU Autoconf 2.61. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on 69347dba162c
#
# config.status:710: creating Makefile
# config.status:710: creating doc/Makefile
# config.status:710: creating doc/agrep.1
# config.status:710: creating lib/Makefile
# config.status:710: creating m4/Makefile
# config.status:710: creating po/Makefile.in
# config.status:710: creating src/Makefile
# config.status:710: creating tests/Makefile
# config.status:710: creating tests/agrep/Makefile
# config.status:710: creating tre.pc
# config.status:710: creating tre.spec
# config.status:710: creating utils/Makefile
# config.status:710: creating config.h
# config.status:710: creating lib/tre-config.h
# config.status:1002: executing depfiles commands
# config.status:1002: executing po-directories commands
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-linux-gnu
# ac_cv_c_compiler_gnu=yes
# ac_cv_c_const=yes
# ac_cv_c_inline=inline
# ac_cv_env_CC_set=set
# ac_cv_env_CC_value=clang
# ac_cv_env_CFLAGS_set=set
# ac_cv_env_CFLAGS_value='-pipe -funsigned-char -Wl,-export-dynamic'
# ac_cv_env_CPPFLAGS_set=set
# ac_cv_env_CPPFLAGS_value=
# ac_cv_env_CPP_set=
# ac_cv_env_CPP_value=
# ac_cv_env_LDFLAGS_set=set
# ac_cv_env_LDFLAGS_value=
# ac_cv_env_LIBS_set=
# ac_cv_env_LIBS_value=
# ac_cv_env_build_alias_set=
# ac_cv_env_build_alias_value=
# ac_cv_env_host_alias_set=
# ac_cv_env_host_alias_value=
# ac_cv_env_target_alias_set=
# ac_cv_env_target_alias_value=
# ac_cv_func_alloca_works=yes
# ac_cv_func_getopt_long=yes
# ac_cv_func_isascii=yes
# ac_cv_func_isblank=yes
# ac_cv_header_dlfcn_h=yes
# ac_cv_header_getopt_h=yes
# ac_cv_header_inttypes_h=yes
# ac_cv_header_memory_h=yes
# ac_cv_header_stdc=yes
# ac_cv_header_stdint_h=yes
# ac_cv_header_stdlib_h=yes
# ac_cv_header_string_h=yes
# ac_cv_header_strings_h=yes
# ac_cv_header_sys_stat_h=yes
# ac_cv_header_sys_types_h=yes
# ac_cv_header_unistd_h=yes
# ac_cv_host=x86_64-unknown-linux-gnu
# ac_cv_objext=o
# ac_cv_path_EGREP='/usr/bin/grep -E'
# ac_cv_path_GMSGFMT=/usr/bin/msgfmt
# ac_cv_path_GREP=/usr/bin/grep
# ac_cv_path_MSGFMT=/usr/bin/msgfmt
# ac_cv_path_MSGMERGE=/usr/bin/msgmerge
# ac_cv_path_XGETTEXT=/usr/bin/xgettext
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_path_mkdir=/usr/bin/mkdir
# ac_cv_prog_AWK=gawk
# ac_cv_prog_CPP='clang -E'
# ac_cv_prog_ac_ct_AR=ar
# ac_cv_prog_ac_ct_CC=clang
# ac_cv_prog_ac_ct_RANLIB=ranlib
# ac_cv_prog_ac_ct_STRIP=strip
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_clang_c_o=yes
# ac_cv_prog_cc_g=yes
# ac_cv_prog_make_make_set=yes
# ac_cv_sys_file_offset_bits=no
# ac_cv_sys_largefile_CC=no
# ac_cv_target=x86_64-unknown-linux-gnu
# ac_cv_working_alloca_h=yes
# acl_cv_hardcode_direct=no
# acl_cv_hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# acl_cv_hardcode_libdir_separator=
# acl_cv_hardcode_minus_L=no
# acl_cv_libext=a
# acl_cv_libname_spec='lib$name'
# acl_cv_library_names_spec='$libname$shrext'
# acl_cv_path_LD=/usr/bin/ld
# acl_cv_prog_gnu_ld=yes
# acl_cv_rpath=done
# acl_cv_shlibext=so
# acl_cv_wl=-Wl,
# am_cv_CC_dependencies_compiler_type=gcc3
# gt_cv_func_CFLocaleCopyCurrent=no
# gt_cv_func_CFPreferencesCopyAppValue=no
# gt_cv_func_gnugettext1_libc=yes
# lt_cv_deplibs_check_method=pass_all
# lt_cv_file_magic_cmd='$MAGIC_CMD'
# lt_cv_file_magic_test_file=
# lt_cv_ld_reload_flag=-r
# lt_cv_objdir=.libs
# lt_cv_path_LD=/usr/bin/ld
# lt_cv_path_NM='/usr/bin/nm -B'
# lt_cv_path_SED=/usr/bin/sed
# lt_cv_prog_compiler_c_o=yes
# lt_cv_prog_compiler_pic_works=yes
# lt_cv_prog_compiler_rtti_exceptions=yes
# lt_cv_prog_compiler_static_works=no
# lt_cv_prog_gnu_ld=yes
# lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
# lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr) \&\2},/p'\'''
# lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern int \1;/p'\'''
# lt_cv_sys_lib_dlsearch_path_spec='/lib /usr/lib /usr/lib/R/lib /usr/lib/libfakeroot '
# lt_cv_sys_lib_search_path_spec='/usr/lib/clang/3.8.0 /usr/lib64/gcc/x86_64-pc-linux-gnu/6.1.1 /usr/lib64 /lib64 /usr/lib /lib'
# lt_cv_sys_max_cmd_len=1572864
# lt_lt_cv_prog_compiler_c_o='"yes"'
# lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\''s/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p'\''"'
# lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^: \\([^ ]*\\) \$/ {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (lt_ptr) \\&\\2},/p'\''"'
# lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\''s/^. .* \\(.*\\)\$/extern int \\1;/p'\''"'
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/utils/missing --run aclocal-1.10'
# ALLOCA=''
# AMDEPBACKSLASH='\'
# AMDEP_FALSE='#'
# AMDEP_TRUE=''
# AMTAR='${SHELL} /tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/utils/missing --run tar'
# AR='ar'
# AS='as'
# AUTOCONF='${SHELL} /tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/utils/missing --run autoconf'
# AUTOHEADER='${SHELL} /tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/utils/missing --run autoheader'
# AUTOMAKE='${SHELL} /tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/utils/missing --run automake-1.10'
# AWK='gawk'
# CC='clang'
# CCDEPMODE='depmode=gcc3'
# CFLAGS='-pipe -funsigned-char -Wl,-export-dynamic'
# CPP='clang -E'
# CPPFLAGS=''
# CYGPATH_W='echo'
# DEFS='-DHAVE_CONFIG_H'
# DEPDIR='.deps'
# DLLTOOL='dlltool'
# DSYMUTIL=''
# ECHO='echo'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='/usr/bin/grep -E'
# EXEEXT=''
# GETTEXT_MACRO_VERSION='0.17'
# GMSGFMT='/usr/bin/msgfmt'
# GMSGFMT_015='/usr/bin/msgfmt'
# GREP='/usr/bin/grep'
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# INTLLIBS=''
# INTL_MACOSX_LIBS=''
# LDFLAGS=''
# LIBICONV='-liconv'
# LIBINTL=''
# LIBOBJS=''
# LIBS=''
# LIBTOOL='$(SHELL) $(top_builddir)/libtool'
# LN_S='ln -s'
# LTLIBICONV='-liconv'
# LTLIBINTL=''
# LTLIBOBJS=''
# MAKEINFO='${SHELL} /tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/utils/missing --run makeinfo'
# MSGFMT='/usr/bin/msgfmt'
# MSGFMT_015='/usr/bin/msgfmt'
# MSGMERGE='/usr/bin/msgmerge'
# NMEDIT=''
# OBJDUMP='objdump'
# OBJEXT='o'
# PACKAGE='tre'
# PACKAGE_BUGREPORT='tre-general@lists.laurikari.net'
# PACKAGE_NAME='TRE'
# PACKAGE_STRING='TRE 0.8.0'
# PACKAGE_TARNAME='tre'
# PACKAGE_VERSION='0.8.0'
# PATH_SEPARATOR=':'
# POSUB='po'
# RANLIB='ranlib'
# SED='/usr/bin/sed'
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='strip'
# TRE_AGREP_FALSE=''
# TRE_AGREP_TRUE='#'
# TRE_APPROX_FALSE='#'
# TRE_APPROX_TRUE=''
# TRE_DEBUG_FALSE=''
# TRE_DEBUG_TRUE='#'
# TRE_MULTIBYTE_FALSE=''
# TRE_MULTIBYTE_TRUE='#'
# TRE_PROFILE_FALSE=''
# TRE_PROFILE_TRUE='#'
# TRE_VERSION='0.8.0'
# USE_NLS='yes'
# VERSION='0.8.0'
# XGETTEXT='/usr/bin/xgettext'
# XGETTEXT_015='/usr/bin/xgettext'
# XGETTEXT_EXTRA_OPTIONS=''
# ac_ct_CC='clang'
# am__fastdepCC_FALSE='#'
# am__fastdepCC_TRUE=''
# am__include='include'
# am__isrc=''
# am__leading_dot='.'
# am__quote=''
# am__tar='${AMTAR} chof - "$$tardir"'
# am__untar='${AMTAR} xf -'
# bindir='${exec_prefix}/bin'
# build='x86_64-unknown-linux-gnu'
# build_alias=''
# build_cpu='x86_64'
# build_os='linux-gnu'
# build_vendor='unknown'
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# dvidir='${docdir}'
# exec_prefix='${prefix}'
# host='x86_64-unknown-linux-gnu'
# host_alias=''
# host_cpu='x86_64'
# host_os='linux-gnu'
# host_vendor='unknown'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# install_sh='$(SHELL) /tmp/unrealircd/src/unrealircd-4.0.4/extras/tre-0.8.0/utils/install-sh'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/man'
# mkdir_p='/usr/bin/mkdir -p'
# oldincludedir='/usr/include'
# pdfdir='${docdir}'
# prefix='/tmp/unrealircd/src/unrealircd-4.0.4/extras/regexp'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# target='x86_64-unknown-linux-gnu'
# target_alias=''
# target_cpu='x86_64'
# target_os='linux-gnu'
# target_vendor='unknown'
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# #define PACKAGE_NAME "TRE"
# #define PACKAGE_TARNAME "tre"
# #define PACKAGE_VERSION "0.8.0"
# #define PACKAGE_STRING "TRE 0.8.0"
# #define PACKAGE_BUGREPORT "tre-general@lists.laurikari.net"
# #define PACKAGE "tre"
# #define VERSION "0.8.0"
# #define TRE_VERSION "0.8.0"
# #define TRE_VERSION_1 0
# #define TRE_VERSION_2 8
# #define TRE_VERSION_3 0
# #define NDEBUG 1
# #define TRE_APPROX 1
# #define _GNU_SOURCE 1
# #define STDC_HEADERS 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_STAT_H 1
# #define HAVE_STDLIB_H 1
# #define HAVE_STRING_H 1
# #define HAVE_MEMORY_H 1
# #define HAVE_STRINGS_H 1
# #define HAVE_INTTYPES_H 1
# #define HAVE_STDINT_H 1
# #define HAVE_UNISTD_H 1
# #define HAVE_ALLOCA_H 1
# #define HAVE_ALLOCA 1
# #define TRE_USE_ALLOCA 1
# #define TRE_REGEX_T_FIELD value
# #define HAVE_ISASCII 1
# #define HAVE_ISBLANK 1
# #define HAVE_GETOPT_H 1
# #define HAVE_GETOPT_LONG 1
# #define ENABLE_NLS 1
# #define HAVE_GETTEXT 1
# #define HAVE_DCGETTEXT 1
# #define HAVE_DLFCN_H 1
#
# configure: exit 0

CMD: config logfiles '/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2-10.21/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# It was created by PCRE2 configure 10.21, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --enable-jit --disable-shared --disable-unicode --prefix=/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 69347dba162c
# uname -m = x86_64
# uname -r = 4.10.6-1-ARCH
# uname -s = Linux
# uname -v = #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017
#
# /usr/bin/uname -p = unknown
# /bin/uname -X = unknown
#
# /bin/arch = unknown
# /usr/bin/arch -k = unknown
# /usr/convex/getsysinfo = unknown
# /usr/bin/hostinfo = unknown
# /bin/machine = unknown
# /usr/bin/oslevel = unknown
# /bin/universe = unknown
#
# PATH: /usr/bin
# PATH: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/bin
# PATH: /usr/lib/jvm/default/bin
# PATH: /usr/bin/site_perl
# PATH: /usr/bin/vendor_perl
# PATH: /usr/bin/core_perl
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:2530: checking for a BSD-compatible install
# configure:2598: result: /usr/bin/install -c
# configure:2609: checking whether build environment is sane
# configure:2664: result: yes
# configure:2815: checking for a thread-safe mkdir -p
# configure:2854: result: /usr/bin/mkdir -p
# configure:2861: checking for gawk
# configure:2877: found /usr/bin/gawk
# configure:2888: result: gawk
# configure:2899: checking whether make sets $(MAKE)
# configure:2921: result: yes
# configure:2950: checking whether make supports nested variables
# configure:2967: result: yes
# configure:3104: checking whether make supports nested variables
# configure:3121: result: yes
# configure:3148: checking for style of include used by make
# configure:3176: result: GNU
# configure:3247: checking for gcc
# configure:3274: result: clang
# configure:3503: checking for C compiler version
# configure:3512: clang --version >&5
# clang version 3.8.0 (tags/RELEASE_380/final)
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /usr/bin
# configure:3523: $? = 0
# configure:3512: clang -v >&5
# clang version 3.8.0 (tags/RELEASE_380/final)
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /usr/bin
# Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# ... rest of stderr output deleted ...
# configure:3523: $? = 0
# configure:3512: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:3523: $? = 1
# configure:3512: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:3523: $? = 1
# configure:3543: checking whether the C compiler works
# configure:3565: clang -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# configure:3569: $? = 0
# configure:3617: result: yes
# configure:3620: checking for C compiler default output file name
# configure:3622: result: a.out
# configure:3628: checking for suffix of executables
# configure:3635: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# configure:3639: $? = 0
# configure:3661: result:
# configure:3683: checking whether we are cross compiling
# configure:3691: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# configure:3695: $? = 0
# configure:3702: ./conftest
# configure:3706: $? = 0
# configure:3721: result: no
# configure:3726: checking for suffix of object files
# configure:3748: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:3752: $? = 0
# configure:3773: result: o
# configure:3777: checking whether we are using the GNU C compiler
# configure:3796: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:3796: $? = 0
# configure:3805: result: yes
# configure:3814: checking whether clang accepts -g
# configure:3834: clang -c -g conftest.c >&5
# configure:3834: $? = 0
# configure:3875: result: yes
# configure:3892: checking for clang option to accept ISO C89
# configure:3955: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:3955: $? = 0
# configure:3968: result: none needed
# configure:3993: checking whether clang understands -c and -o together
# configure:4015: clang -c conftest.c -o conftest2.o
# configure:4018: $? = 0
# configure:4015: clang -c conftest.c -o conftest2.o
# configure:4018: $? = 0
# configure:4030: result: yes
# configure:4049: checking dependency style of clang
# configure:4160: result: gcc3
# configure:4225: checking for ar
# configure:4241: found /usr/bin/ar
# configure:4252: result: ar
# configure:4278: checking the archiver (ar) interface
# configure:4294: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:4294: $? = 0
# configure:4296: ar cru libconftest.a conftest.o >&5
# ar: `u' modifier ignored since `D' is the default (see `U')
# configure:4299: $? = 0
# configure:4327: result: ar
# configure:4409: checking for gcc
# configure:4436: result: clang
# configure:4665: checking for C compiler version
# configure:4674: clang --version >&5
# clang version 3.8.0 (tags/RELEASE_380/final)
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /usr/bin
# configure:4685: $? = 0
# configure:4674: clang -v >&5
# clang version 3.8.0 (tags/RELEASE_380/final)
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /usr/bin
# Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# ... rest of stderr output deleted ...
# configure:4685: $? = 0
# configure:4674: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:4685: $? = 1
# configure:4674: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:4685: $? = 1
# configure:4689: checking whether we are using the GNU C compiler
# configure:4717: result: yes
# configure:4726: checking whether clang accepts -g
# configure:4787: result: yes
# configure:4804: checking for clang option to accept ISO C89
# configure:4880: result: none needed
# configure:4905: checking whether clang understands -c and -o together
# configure:4942: result: yes
# configure:4961: checking dependency style of clang
# configure:5072: result: gcc3
# configure:5106: checking how to run the C preprocessor
# configure:5137: clang -E conftest.c
# configure:5137: $? = 0
# configure:5151: clang -E conftest.c
# conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:5151: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "PCRE2"
# | #define PACKAGE_TARNAME "pcre2"
# | #define PACKAGE_VERSION "10.21"
# | #define PACKAGE_STRING "PCRE2 10.21"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "pcre2"
# | #define VERSION "10.21"
# | /* end confdefs.h. */
# | #include
# configure:5176: result: clang -E
# configure:5196: clang -E conftest.c
# configure:5196: $? = 0
# configure:5210: clang -E conftest.c
# conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:5210: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "PCRE2"
# | #define PACKAGE_TARNAME "pcre2"
# | #define PACKAGE_VERSION "10.21"
# | #define PACKAGE_STRING "PCRE2 10.21"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "pcre2"
# | #define VERSION "10.21"
# | /* end confdefs.h. */
# | #include
# configure:5239: checking for grep that handles long lines and -e
# configure:5297: result: /usr/bin/grep
# configure:5302: checking for egrep
# configure:5364: result: /usr/bin/grep -E
# configure:5369: checking for ANSI C header files
# configure:5389: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:5389: $? = 0
# configure:5462: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# configure:5462: $? = 0
# configure:5462: ./conftest
# configure:5462: $? = 0
# configure:5473: result: yes
# configure:5486: checking for sys/types.h
# configure:5486: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:5486: $? = 0
# configure:5486: result: yes
# configure:5486: checking for sys/stat.h
# configure:5486: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:5486: $? = 0
# configure:5486: result: yes
# configure:5486: checking for stdlib.h
# configure:5486: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:5486: $? = 0
# configure:5486: result: yes
# configure:5486: checking for string.h
# configure:5486: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:5486: $? = 0
# configure:5486: result: yes
# configure:5486: checking for memory.h
# configure:5486: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:5486: $? = 0
# configure:5486: result: yes
# configure:5486: checking for strings.h
# configure:5486: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:5486: $? = 0
# configure:5486: result: yes
# configure:5486: checking for inttypes.h
# configure:5486: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:5486: $? = 0
# configure:5486: result: yes
# configure:5486: checking for stdint.h
# configure:5486: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:5486: $? = 0
# configure:5486: result: yes
# configure:5486: checking for unistd.h
# configure:5486: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:5486: $? = 0
# configure:5486: result: yes
# configure:5498: checking for int64_t
# configure:5498: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:5498: $? = 0
# configure:5498: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# conftest.c:58:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !((int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 1)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:5498: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "PCRE2"
# | #define PACKAGE_TARNAME "pcre2"
# | #define PACKAGE_VERSION "10.21"
# | #define PACKAGE_STRING "PCRE2 10.21"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "pcre2"
# | #define VERSION "10.21"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | /* end confdefs.h. */
# | #include
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_STAT_H
# | # include
# | #endif
# | #ifdef STDC_HEADERS
# | # include
# | # include
# | #else
# | # ifdef HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #ifdef HAVE_STRING_H
# | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | #ifdef HAVE_INTTYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STDINT_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | enum { N = 64 / 2 - 1 };
# | int
# | main ()
# | {
# | static int test_array [1 - 2 * !((int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 1)
# | < (int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 2))];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:5498: result: yes
# configure:5515: checking build system type
# configure:5529: result: x86_64-unknown-linux-gnu
# configure:5549: checking host system type
# configure:5562: result: x86_64-unknown-linux-gnu
# configure:5931: checking how to print strings
# configure:5958: result: printf
# configure:5979: checking for a sed that does not truncate output
# configure:6043: result: /usr/bin/sed
# configure:6061: checking for fgrep
# configure:6123: result: /usr/bin/grep -F
# configure:6158: checking for ld used by clang
# configure:6225: result: /usr/bin/ld
# configure:6232: checking if the linker (/usr/bin/ld) is GNU ld
# configure:6247: result: yes
# configure:6259: checking for BSD- or MS-compatible name lister (nm)
# configure:6313: result: /usr/bin/nm -B
# configure:6443: checking the name lister (/usr/bin/nm -B) interface
# configure:6450: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:6453: /usr/bin/nm -B "conftest.o"
# configure:6456: output
# 0000000000000000 B some_variable
# configure:6463: result: BSD nm
# configure:6466: checking whether ln -s works
# configure:6470: result: yes
# configure:6478: checking the maximum length of command line arguments
# configure:6609: result: 1572864
# configure:6657: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format
# configure:6697: result: func_convert_file_noop
# configure:6704: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format
# configure:6724: result: func_convert_file_noop
# configure:6731: checking for /usr/bin/ld option to reload object files
# configure:6738: result: -r
# configure:6812: checking for objdump
# configure:6839: result: objdump
# configure:6868: checking how to recognize dependent libraries
# configure:7068: result: pass_all
# configure:7153: checking for dlltool
# configure:7180: result: dlltool
# configure:7210: checking how to associate runtime and link libraries
# configure:7237: result: printf %s\n
# configure:7361: checking for archiver @FILE support
# configure:7378: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:7378: $? = 0
# configure:7381: ar cru libconftest.a @conftest.lst >&5
# ar: `u' modifier ignored since `D' is the default (see `U')
# configure:7384: $? = 0
# configure:7389: ar cru libconftest.a @conftest.lst >&5
# ar: `u' modifier ignored since `D' is the default (see `U')
# ar: conftest.o: No such file or directory
# configure:7392: $? = 1
# configure:7404: result: @
# configure:7462: checking for strip
# configure:7478: found /usr/bin/strip
# configure:7489: result: strip
# configure:7561: checking for ranlib
# configure:7577: found /usr/bin/ranlib
# configure:7588: result: ranlib
# configure:7690: checking command to parse /usr/bin/nm -B output from clang object
# configure:7843: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:7846: $? = 0
# configure:7850: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
# configure:7853: $? = 0
# configure:7919: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c conftstm.o >&5
# configure:7922: $? = 0
# configure:7960: result: ok
# configure:8007: checking for sysroot
# configure:8037: result: no
# configure:8044: checking for a working dd
# configure:8082: result: /usr/bin/dd
# configure:8086: checking how to truncate binary pipes
# configure:8101: result: /usr/bin/dd bs=4096 count=1
# configure:8237: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:8240: $? = 0
# configure:8430: checking for mt
# configure:8460: result: no
# configure:8480: checking if : is a manifest tool
# configure:8486: : '-?'
# configure:8494: result: no
# configure:9168: checking for dlfcn.h
# configure:9168: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:9168: $? = 0
# configure:9168: result: yes
# configure:9422: checking for objdir
# configure:9437: result: .libs
# configure:9701: checking if clang supports -fno-rtti -fno-exceptions
# configure:9719: clang -c -pipe -funsigned-char -Wl,-export-dynamic -fno-rtti -fno-exceptions conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:9723: $? = 0
# configure:9736: result: yes
# configure:10094: checking for clang option to produce PIC
# configure:10101: result: -fPIC -DPIC
# configure:10109: checking if clang PIC flag -fPIC -DPIC works
# configure:10127: clang -c -pipe -funsigned-char -Wl,-export-dynamic -fPIC -DPIC -DPIC conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:10131: $? = 0
# configure:10144: result: yes
# configure:10173: checking if clang static flag -static works
# configure:10201: result: no
# configure:10216: checking if clang supports -c -o file.o
# configure:10237: clang -c -pipe -funsigned-char -Wl,-export-dynamic -o out/conftest2.o conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:10241: $? = 0
# configure:10263: result: yes
# configure:10271: checking if clang supports -c -o file.o
# configure:10318: result: yes
# configure:10351: checking whether the clang linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
# configure:11610: result: yes
# configure:11850: checking dynamic linker characteristics
# configure:12431: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Wl,-rpath -Wl,/foo conftest.c >&5
# configure:12431: $? = 0
# configure:12668: result: GNU/Linux ld.so
# configure:12790: checking how to hardcode library paths into programs
# configure:12815: result: immediate
# configure:13363: checking whether stripping libraries is possible
# configure:13368: result: yes
# configure:13403: checking if libtool supports shared libraries
# configure:13405: result: yes
# configure:13408: checking whether to build shared libraries
# configure:13433: result: no
# configure:13436: checking whether to build static libraries
# configure:13440: result: yes
# configure:13477: checking whether ln -s works
# configure:13481: result: yes
# configure:13497: checking whether the -Werror option is usable
# configure:13516: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Werror conftest.c >&5
# clang-3.8: error: -Wl,-export-dynamic: 'linker' input unused
# configure:13516: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "PCRE2"
# | #define PACKAGE_TARNAME "pcre2"
# | #define PACKAGE_VERSION "10.21"
# | #define PACKAGE_STRING "PCRE2 10.21"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "pcre2"
# | #define VERSION "10.21"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | /* end confdefs.h. */
# |
# | int
# | main ()
# | {
# |
# | ;
# | return 0;
# | }
# configure:13525: result: no
# configure:13527: checking for simple visibility declarations
# configure:13554: clang -c -pipe -funsigned-char -Wl,-export-dynamic -fvisibility=hidden conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:13554: $? = 0
# configure:13563: result: yes
# configure:13985: checking for ANSI C header files
# configure:14089: result: yes
# configure:14100: checking limits.h usability
# configure:14100: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:14100: $? = 0
# configure:14100: result: yes
# configure:14100: checking limits.h presence
# configure:14100: clang -E conftest.c
# configure:14100: $? = 0
# configure:14100: result: yes
# configure:14100: checking for limits.h
# configure:14100: result: yes
# configure:14100: checking for sys/types.h
# configure:14100: result: yes
# configure:14100: checking for sys/stat.h
# configure:14100: result: yes
# configure:14100: checking dirent.h usability
# configure:14100: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:14100: $? = 0
# configure:14100: result: yes
# configure:14100: checking dirent.h presence
# configure:14100: clang -E conftest.c
# configure:14100: $? = 0
# configure:14100: result: yes
# configure:14100: checking for dirent.h
# configure:14100: result: yes
# configure:14112: checking windows.h usability
# configure:14112: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# conftest.c:66:10: fatal error: 'windows.h' file not found
# #include
# ^
# 1 error generated.
# configure:14112: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "PCRE2"
# | #define PACKAGE_TARNAME "pcre2"
# | #define PACKAGE_VERSION "10.21"
# | #define PACKAGE_STRING "PCRE2 10.21"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "pcre2"
# | #define VERSION "10.21"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define PCRE2_EXP_DECL extern __attribute__ ((visibility ("default")))
# | #define PCRE2_EXP_DEFN __attribute__ ((visibility ("default")))
# | #define PCRE2POSIX_EXP_DECL extern __attribute__ ((visibility ("default")))
# | #define PCRE2POSIX_EXP_DEFN extern __attribute__ ((visibility ("default")))
# | #define HAVE_VISIBILITY 1
# | #define STDC_HEADERS 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_DIRENT_H 1
# | /* end confdefs.h. */
# | #include
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_STAT_H
# | # include
# | #endif
# | #ifdef STDC_HEADERS
# | # include
# | # include
# | #else
# | # ifdef HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #ifdef HAVE_STRING_H
# | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | #ifdef HAVE_INTTYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STDINT_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | #include
# configure:14112: result: no
# configure:14112: checking windows.h presence
# configure:14112: clang -E conftest.c
# conftest.c:33:10: fatal error: 'windows.h' file not found
# #include
# ^
# 1 error generated.
# configure:14112: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "PCRE2"
# | #define PACKAGE_TARNAME "pcre2"
# | #define PACKAGE_VERSION "10.21"
# | #define PACKAGE_STRING "PCRE2 10.21"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "pcre2"
# | #define VERSION "10.21"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define PCRE2_EXP_DECL extern __attribute__ ((visibility ("default")))
# | #define PCRE2_EXP_DEFN __attribute__ ((visibility ("default")))
# | #define PCRE2POSIX_EXP_DECL extern __attribute__ ((visibility ("default")))
# | #define PCRE2POSIX_EXP_DEFN extern __attribute__ ((visibility ("default")))
# | #define HAVE_VISIBILITY 1
# | #define STDC_HEADERS 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_DIRENT_H 1
# | /* end confdefs.h. */
# | #include
# configure:14112: result: no
# configure:14112: checking for windows.h
# configure:14112: result: no
# configure:14191: checking for an ANSI C-conforming const
# configure:14257: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:14257: $? = 0
# configure:14264: result: yes
# configure:14272: checking for size_t
# configure:14272: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:14272: $? = 0
# configure:14272: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# conftest.c:69:21: error: expected expression
# if (sizeof ((size_t)))
# ^
# 1 error generated.
# configure:14272: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "PCRE2"
# | #define PACKAGE_TARNAME "pcre2"
# | #define PACKAGE_VERSION "10.21"
# | #define PACKAGE_STRING "PCRE2 10.21"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "pcre2"
# | #define VERSION "10.21"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define PCRE2_EXP_DECL extern __attribute__ ((visibility ("default")))
# | #define PCRE2_EXP_DEFN __attribute__ ((visibility ("default")))
# | #define PCRE2POSIX_EXP_DECL extern __attribute__ ((visibility ("default")))
# | #define PCRE2POSIX_EXP_DEFN extern __attribute__ ((visibility ("default")))
# | #define HAVE_VISIBILITY 1
# | #define STDC_HEADERS 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_DIRENT_H 1
# | /* end confdefs.h. */
# | #include
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_STAT_H
# | # include
# | #endif
# | #ifdef STDC_HEADERS
# | # include
# | # include
# | #else
# | # ifdef HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #ifdef HAVE_STRING_H
# | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | #ifdef HAVE_INTTYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STDINT_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | int
# | main ()
# | {
# | if (sizeof ((size_t)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:14272: result: yes
# configure:14289: checking for bcopy
# configure:14289: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# configure:14289: $? = 0
# configure:14289: result: yes
# configure:14289: checking for memmove
# configure:14289: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# conftest.c:57:6: warning: incompatible redeclaration of library function 'memmove' [-Wincompatible-library-redeclaration]
# char memmove ();
# ^
# conftest.c:57:6: note: 'memmove' is a builtin with type 'void *(void *, const void *, unsigned long)'
# 1 warning generated.
# configure:14289: $? = 0
# configure:14289: result: yes
# configure:14289: checking for strerror
# configure:14289: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# conftest.c:58:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration]
# char strerror ();
# ^
# conftest.c:58:6: note: 'strerror' is a builtin with type 'char *(int)'
# 1 warning generated.
# configure:14289: $? = 0
# configure:14289: result: yes
# configure:14303: checking zlib.h usability
# configure:14303: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:14303: $? = 0
# configure:14303: result: yes
# configure:14303: checking zlib.h presence
# configure:14303: clang -E conftest.c
# configure:14303: $? = 0
# configure:14303: result: yes
# configure:14303: checking for zlib.h
# configure:14303: result: yes
# configure:14313: checking for gzopen in -lz
# configure:14338: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c -lz >&5
# configure:14338: $? = 0
# configure:14347: result: yes
# configure:14372: checking bzlib.h usability
# configure:14372: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:14372: $? = 0
# configure:14372: result: yes
# configure:14372: checking bzlib.h presence
# configure:14372: clang -E conftest.c
# configure:14372: $? = 0
# configure:14372: result: yes
# configure:14372: checking for bzlib.h
# configure:14372: result: yes
# configure:14387: checking for libbz2
# configure:14405: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c -lbz2 >&5
# configure:14405: $? = 0
# configure:14406: result: yes
# configure:14998: checking for the pthreads library -lpthreads
# configure:15036: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c -lpthreads >&5
# /usr/bin/ld: cannot find -lpthreads
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:15036: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "PCRE2"
# | #define PACKAGE_TARNAME "pcre2"
# | #define PACKAGE_VERSION "10.21"
# | #define PACKAGE_STRING "PCRE2 10.21"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "pcre2"
# | #define VERSION "10.21"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define PCRE2_EXP_DECL extern __attribute__ ((visibility ("default")))
# | #define PCRE2_EXP_DEFN __attribute__ ((visibility ("default")))
# | #define PCRE2POSIX_EXP_DECL extern __attribute__ ((visibility ("default")))
# | #define PCRE2POSIX_EXP_DEFN extern __attribute__ ((visibility ("default")))
# | #define HAVE_VISIBILITY 1
# | #define STDC_HEADERS 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_DIRENT_H 1
# | #define HAVE_BCOPY 1
# | #define HAVE_MEMMOVE 1
# | #define HAVE_STRERROR 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_BZLIB_H 1
# | #define PCRE2_STATIC 1
# | #define SUPPORT_PCRE2_8 /**/
# | /* end confdefs.h. */
# | #include
# | static void routine(void *a) { a = 0; }
# | static void *start_routine(void *a) { return a; }
# | int
# | main ()
# | {
# | pthread_t th; pthread_attr_t attr;
# | pthread_create(&th, 0, start_routine, 0);
# | pthread_join(th, 0);
# | pthread_attr_init(&attr);
# | pthread_cleanup_push(routine, 0);
# | pthread_cleanup_pop(0) /* ; */
# | ;
# | return 0;
# | }
# configure:15045: result: no
# configure:14943: checking whether pthreads work without any flags
# configure:15036: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# /tmp/conftest-fb5296.o: In function `main':
# conftest.c:(.text+0x28): undefined reference to `pthread_create'
# conftest.c:(.text+0x3d): undefined reference to `pthread_join'
# conftest.c:(.text+0xbe): undefined reference to `__pthread_register_cancel'
# conftest.c:(.text+0xd9): undefined reference to `__pthread_unregister_cancel'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:15036: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "PCRE2"
# | #define PACKAGE_TARNAME "pcre2"
# | #define PACKAGE_VERSION "10.21"
# | #define PACKAGE_STRING "PCRE2 10.21"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "pcre2"
# | #define VERSION "10.21"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define PCRE2_EXP_DECL extern __attribute__ ((visibility ("default")))
# | #define PCRE2_EXP_DEFN __attribute__ ((visibility ("default")))
# | #define PCRE2POSIX_EXP_DECL extern __attribute__ ((visibility ("default")))
# | #define PCRE2POSIX_EXP_DEFN extern __attribute__ ((visibility ("default")))
# | #define HAVE_VISIBILITY 1
# | #define STDC_HEADERS 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_DIRENT_H 1
# | #define HAVE_BCOPY 1
# | #define HAVE_MEMMOVE 1
# | #define HAVE_STRERROR 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_BZLIB_H 1
# | #define PCRE2_STATIC 1
# | #define SUPPORT_PCRE2_8 /**/
# | /* end confdefs.h. */
# | #include
# | static void routine(void *a) { a = 0; }
# | static void *start_routine(void *a) { return a; }
# | int
# | main ()
# | {
# | pthread_t th; pthread_attr_t attr;
# | pthread_create(&th, 0, start_routine, 0);
# | pthread_join(th, 0);
# | pthread_attr_init(&attr);
# | pthread_cleanup_push(routine, 0);
# | pthread_cleanup_pop(0) /* ; */
# | ;
# | return 0;
# | }
# configure:15045: result: no
# configure:14948: checking whether pthreads work with -Kthread
# configure:15036: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Kthread conftest.c >&5
# clang-3.8: error: unknown argument: '-Kthread'
# configure:15036: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "PCRE2"
# | #define PACKAGE_TARNAME "pcre2"
# | #define PACKAGE_VERSION "10.21"
# | #define PACKAGE_STRING "PCRE2 10.21"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "pcre2"
# | #define VERSION "10.21"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define PCRE2_EXP_DECL extern __attribute__ ((visibility ("default")))
# | #define PCRE2_EXP_DEFN __attribute__ ((visibility ("default")))
# | #define PCRE2POSIX_EXP_DECL extern __attribute__ ((visibility ("default")))
# | #define PCRE2POSIX_EXP_DEFN extern __attribute__ ((visibility ("default")))
# | #define HAVE_VISIBILITY 1
# | #define STDC_HEADERS 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_DIRENT_H 1
# | #define HAVE_BCOPY 1
# | #define HAVE_MEMMOVE 1
# | #define HAVE_STRERROR 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_BZLIB_H 1
# | #define PCRE2_STATIC 1
# | #define SUPPORT_PCRE2_8 /**/
# | /* end confdefs.h. */
# | #include
# | static void routine(void *a) { a = 0; }
# | static void *start_routine(void *a) { return a; }
# | int
# | main ()
# | {
# | pthread_t th; pthread_attr_t attr;
# | pthread_create(&th, 0, start_routine, 0);
# | pthread_join(th, 0);
# | pthread_attr_init(&attr);
# | pthread_cleanup_push(routine, 0);
# | pthread_cleanup_pop(0) /* ; */
# | ;
# | return 0;
# | }
# configure:15045: result: no
# configure:14948: checking whether pthreads work with -kthread
# configure:15036: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -kthread conftest.c >&5
# clang-3.8: error: unknown argument: '-kthread'
# configure:15036: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "PCRE2"
# | #define PACKAGE_TARNAME "pcre2"
# | #define PACKAGE_VERSION "10.21"
# | #define PACKAGE_STRING "PCRE2 10.21"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "pcre2"
# | #define VERSION "10.21"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define PCRE2_EXP_DECL extern __attribute__ ((visibility ("default")))
# | #define PCRE2_EXP_DEFN __attribute__ ((visibility ("default")))
# | #define PCRE2POSIX_EXP_DECL extern __attribute__ ((visibility ("default")))
# | #define PCRE2POSIX_EXP_DEFN extern __attribute__ ((visibility ("default")))
# | #define HAVE_VISIBILITY 1
# | #define STDC_HEADERS 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_DIRENT_H 1
# | #define HAVE_BCOPY 1
# | #define HAVE_MEMMOVE 1
# | #define HAVE_STRERROR 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_BZLIB_H 1
# | #define PCRE2_STATIC 1
# | #define SUPPORT_PCRE2_8 /**/
# | /* end confdefs.h. */
# | #include
# | static void routine(void *a) { a = 0; }
# | static void *start_routine(void *a) { return a; }
# | int
# | main ()
# | {
# | pthread_t th; pthread_attr_t attr;
# | pthread_create(&th, 0, start_routine, 0);
# | pthread_join(th, 0);
# | pthread_attr_init(&attr);
# | pthread_cleanup_push(routine, 0);
# | pthread_cleanup_pop(0) /* ; */
# | ;
# | return 0;
# | }
# configure:15045: result: no
# configure:14998: checking for the pthreads library -llthread
# configure:15036: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c -llthread >&5
# /usr/bin/ld: cannot find -llthread
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:15036: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "PCRE2"
# | #define PACKAGE_TARNAME "pcre2"
# | #define PACKAGE_VERSION "10.21"
# | #define PACKAGE_STRING "PCRE2 10.21"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "pcre2"
# | #define VERSION "10.21"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define PCRE2_EXP_DECL extern __attribute__ ((visibility ("default")))
# | #define PCRE2_EXP_DEFN __attribute__ ((visibility ("default")))
# | #define PCRE2POSIX_EXP_DECL extern __attribute__ ((visibility ("default")))
# | #define PCRE2POSIX_EXP_DEFN extern __attribute__ ((visibility ("default")))
# | #define HAVE_VISIBILITY 1
# | #define STDC_HEADERS 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_DIRENT_H 1
# | #define HAVE_BCOPY 1
# | #define HAVE_MEMMOVE 1
# | #define HAVE_STRERROR 1
# | #define HAVE_ZLIB_H 1
# | #define HAVE_BZLIB_H 1
# | #define PCRE2_STATIC 1
# | #define SUPPORT_PCRE2_8 /**/
# | /* end confdefs.h. */
# | #include
# | static void routine(void *a) { a = 0; }
# | static void *start_routine(void *a) { return a; }
# | int
# | main ()
# | {
# | pthread_t th; pthread_attr_t attr;
# | pthread_create(&th, 0, start_routine, 0);
# | pthread_join(th, 0);
# | pthread_attr_init(&attr);
# | pthread_cleanup_push(routine, 0);
# | pthread_cleanup_pop(0) /* ; */
# | ;
# | return 0;
# | }
# configure:15045: result: no
# configure:14948: checking whether pthreads work with -pthread
# configure:15036: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -pthread conftest.c >&5
# configure:15036: $? = 0
# configure:15045: result: yes
# configure:15064: checking for joinable pthread attribute
# configure:15079: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -pthread conftest.c >&5
# configure:15079: $? = 0
# configure:15085: result: PTHREAD_CREATE_JOINABLE
# configure:15095: checking if more special flags are required for pthreads
# configure:15109: result: no
# configure:15115: checking for PTHREAD_PRIO_INHERIT
# configure:15133: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -pthread conftest.c >&5
# configure:15133: $? = 0
# configure:15142: result: yes
# configure:15977: checking that generated files are newer than configure
# configure:15983: result: done
# configure:16046: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by PCRE2 config.status 10.21, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on 69347dba162c
#
# config.status:1174: creating Makefile
# config.status:1174: creating libpcre2-8.pc
# config.status:1174: creating libpcre2-16.pc
# config.status:1174: creating libpcre2-32.pc
# config.status:1174: creating libpcre2-posix.pc
# config.status:1174: creating pcre2-config
# config.status:1174: creating src/pcre2.h
# config.status:1174: creating src/config.h
# config.status:1403: executing depfiles commands
# config.status:1403: executing libtool commands
# config.status:1403: executing script-chmod commands
# config.status:1403: executing delete-old-chartables commands
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-linux-gnu
# ac_cv_c_compiler_gnu=yes
# ac_cv_c_const=yes
# ac_cv_c_int64_t=yes
# ac_cv_env_CC_set=set
# ac_cv_env_CC_value=clang
# ac_cv_env_CFLAGS_set=set
# ac_cv_env_CFLAGS_value='-pipe -funsigned-char -Wl,-export-dynamic'
# ac_cv_env_CPPFLAGS_set=set
# ac_cv_env_CPPFLAGS_value=
# ac_cv_env_CPP_set=
# ac_cv_env_CPP_value=
# ac_cv_env_GENHTML_set=
# ac_cv_env_GENHTML_value=
# ac_cv_env_LCOV_set=
# ac_cv_env_LCOV_value=
# ac_cv_env_LDFLAGS_set=set
# ac_cv_env_LDFLAGS_value=
# ac_cv_env_LIBS_set=
# ac_cv_env_LIBS_value=
# ac_cv_env_LT_SYS_LIBRARY_PATH_set=
# ac_cv_env_LT_SYS_LIBRARY_PATH_value=
# ac_cv_env_PKG_CONFIG_LIBDIR_set=
# ac_cv_env_PKG_CONFIG_LIBDIR_value=
# ac_cv_env_PKG_CONFIG_PATH_set=
# ac_cv_env_PKG_CONFIG_PATH_value=
# ac_cv_env_PKG_CONFIG_set=
# ac_cv_env_PKG_CONFIG_value=
# ac_cv_env_VALGRIND_CFLAGS_set=
# ac_cv_env_VALGRIND_CFLAGS_value=
# ac_cv_env_VALGRIND_LIBS_set=
# ac_cv_env_VALGRIND_LIBS_value=
# ac_cv_env_build_alias_set=
# ac_cv_env_build_alias_value=
# ac_cv_env_host_alias_set=
# ac_cv_env_host_alias_value=
# ac_cv_env_target_alias_set=
# ac_cv_env_target_alias_value=
# ac_cv_func_bcopy=yes
# ac_cv_func_memmove=yes
# ac_cv_func_strerror=yes
# ac_cv_header_bzlib_h=yes
# ac_cv_header_dirent_h=yes
# ac_cv_header_dlfcn_h=yes
# ac_cv_header_inttypes_h=yes
# ac_cv_header_limits_h=yes
# ac_cv_header_memory_h=yes
# ac_cv_header_stdc=yes
# ac_cv_header_stdint_h=yes
# ac_cv_header_stdlib_h=yes
# ac_cv_header_string_h=yes
# ac_cv_header_strings_h=yes
# ac_cv_header_sys_stat_h=yes
# ac_cv_header_sys_types_h=yes
# ac_cv_header_unistd_h=yes
# ac_cv_header_windows_h=no
# ac_cv_header_zlib_h=yes
# ac_cv_host=x86_64-unknown-linux-gnu
# ac_cv_lib_z_gzopen=yes
# ac_cv_objext=o
# ac_cv_path_EGREP='/usr/bin/grep -E'
# ac_cv_path_FGREP='/usr/bin/grep -F'
# ac_cv_path_GREP=/usr/bin/grep
# ac_cv_path_SED=/usr/bin/sed
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_path_lt_DD=/usr/bin/dd
# ac_cv_path_mkdir=/usr/bin/mkdir
# ac_cv_prog_AWK=gawk
# ac_cv_prog_CPP='clang -E'
# ac_cv_prog_ac_ct_AR=ar
# ac_cv_prog_ac_ct_CC=clang
# ac_cv_prog_ac_ct_DLLTOOL=dlltool
# ac_cv_prog_ac_ct_OBJDUMP=objdump
# ac_cv_prog_ac_ct_RANLIB=ranlib
# ac_cv_prog_ac_ct_STRIP=strip
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
# ac_cv_prog_make_make_set=yes
# ac_cv_type_size_t=yes
# am_cv_CC_dependencies_compiler_type=gcc3
# am_cv_ar_interface=ar
# am_cv_make_support_nested_variables=yes
# am_cv_prog_cc_c_o=yes
# ax_cv_PTHREAD_PRIO_INHERIT=yes
# lt_cv_ar_at_file=@
# lt_cv_deplibs_check_method=pass_all
# lt_cv_file_magic_cmd='$MAGIC_CMD'
# lt_cv_file_magic_test_file=
# lt_cv_ld_reload_flag=-r
# lt_cv_nm_interface='BSD nm'
# lt_cv_objdir=.libs
# lt_cv_path_LD=/usr/bin/ld
# lt_cv_path_NM='/usr/bin/nm -B'
# lt_cv_path_mainfest_tool=no
# lt_cv_prog_compiler_c_o=yes
# lt_cv_prog_compiler_pic='-fPIC -DPIC'
# lt_cv_prog_compiler_pic_works=yes
# lt_cv_prog_compiler_rtti_exceptions=yes
# lt_cv_prog_compiler_static_works=no
# lt_cv_prog_gnu_ld=yes
# lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
# lt_cv_shlibpath_overrides_runpath=no
# lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
# lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\'''
# lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\'''
# lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
# lt_cv_sys_global_symbol_to_import=
# lt_cv_sys_max_cmd_len=1572864
# lt_cv_to_host_file_cmd=func_convert_file_noop
# lt_cv_to_tool_file_cmd=func_convert_file_noop
# lt_cv_truncate_bin='/usr/bin/dd bs=4096 count=1'
# pcre2_cv_cc_vis_werror=no
# pcre2_cv_cc_visibility=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2-10.21/missing aclocal-1.15'
# AMDEPBACKSLASH='\'
# AMDEP_FALSE='#'
# AMDEP_TRUE=''
# AMTAR='$${TAR-tar}'
# AM_BACKSLASH='\'
# AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
# AM_DEFAULT_VERBOSITY='0'
# AM_V='$(V)'
# AR='ar'
# AS='as'
# AUTOCONF='${SHELL} /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2-10.21/missing autoconf'
# AUTOHEADER='${SHELL} /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2-10.21/missing autoheader'
# AUTOMAKE='${SHELL} /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2-10.21/missing automake-1.15'
# AWK='gawk'
# CC='clang'
# CCDEPMODE='depmode=gcc3'
# CFLAGS='-pthread -pipe -funsigned-char -Wl,-export-dynamic'
# CPP='clang -E'
# CPPFLAGS=''
# CYGPATH_W='echo'
# DEFS='-DHAVE_CONFIG_H'
# DEPDIR='.deps'
# DISTCHECK_CONFIGURE_FLAGS='CFLAGS='\'''\'' CXXFLAGS='\'''\'' --enable-pcre2-16 --enable-pcre2-32 --enable-jit --enable-utf'
# DLLTOOL='dlltool'
# DSYMUTIL=''
# DUMPBIN=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='/usr/bin/grep -E'
# EXEEXT=''
# EXTRA_LIBPCRE2_16_LDFLAGS=' -version-info 3:0:3'
# EXTRA_LIBPCRE2_32_LDFLAGS=' -version-info 3:0:3'
# EXTRA_LIBPCRE2_8_LDFLAGS=' -version-info 3:0:3'
# EXTRA_LIBPCRE2_POSIX_LDFLAGS=' -version-info 0:1:0'
# FGREP='/usr/bin/grep -F'
# GCOV_CFLAGS=''
# GCOV_CXXFLAGS=''
# GCOV_LIBS=''
# GENHTML=''
# GREP='/usr/bin/grep'
# HAVE_VISIBILITY='1'
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# LCOV=''
# LD='/usr/bin/ld -m elf_x86_64'
# LDFLAGS=''
# LIBBZ2=''
# LIBOBJS=''
# LIBREADLINE=''
# LIBS=' '
# LIBTOOL='$(SHELL) $(top_builddir)/libtool'
# LIBZ=''
# LIPO=''
# LN_S='ln -s'
# LTLIBOBJS=''
# LT_SYS_LIBRARY_PATH=''
# MAKEINFO='${SHELL} /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2-10.21/missing makeinfo'
# MANIFEST_TOOL=':'
# MKDIR_P='/usr/bin/mkdir -p'
# NM='/usr/bin/nm -B'
# NMEDIT=''
# OBJDUMP='objdump'
# OBJEXT='o'
# OTOOL64=''
# OTOOL=''
# PACKAGE='pcre2'
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME='PCRE2'
# PACKAGE_STRING='PCRE2 10.21'
# PACKAGE_TARNAME='pcre2'
# PACKAGE_URL=''
# PACKAGE_VERSION='10.21'
# PATH_SEPARATOR=':'
# PCRE2_DATE='2016-01-12'
# PCRE2_MAJOR='10'
# PCRE2_MINOR='21'
# PCRE2_PRERELEASE=''
# PCRE2_STATIC_CFLAG='-DPCRE2_STATIC'
# PKG_CONFIG=''
# PKG_CONFIG_LIBDIR=''
# PKG_CONFIG_PATH=''
# PTHREAD_CC='clang'
# PTHREAD_CFLAGS='-pthread'
# PTHREAD_LIBS=''
# RANLIB='ranlib'
# SED='/usr/bin/sed'
# SET_MAKE=''
# SHELL='/bin/sh'
# SHTOOL=''
# STRIP='strip'
# VALGRIND_CFLAGS=''
# VALGRIND_LIBS=''
# VERSION='10.21'
# VISIBILITY_CFLAGS='-fvisibility=hidden'
# VISIBILITY_CXXFLAGS='-fvisibility=hidden -fvisibility-inlines-hidden'
# WITH_DEBUG_FALSE=''
# WITH_DEBUG_TRUE='#'
# WITH_GCOV_FALSE=''
# WITH_GCOV_TRUE='#'
# WITH_JIT_FALSE='#'
# WITH_JIT_TRUE=''
# WITH_PCRE2_16_FALSE=''
# WITH_PCRE2_16_TRUE='#'
# WITH_PCRE2_32_FALSE=''
# WITH_PCRE2_32_TRUE='#'
# WITH_PCRE2_8_FALSE='#'
# WITH_PCRE2_8_TRUE=''
# WITH_REBUILD_CHARTABLES_FALSE=''
# WITH_REBUILD_CHARTABLES_TRUE='#'
# WITH_UNICODE_FALSE=''
# WITH_UNICODE_TRUE='#'
# WITH_VALGRIND_FALSE=''
# WITH_VALGRIND_TRUE='#'
# ac_ct_AR='ar'
# ac_ct_CC='clang'
# ac_ct_DUMPBIN=''
# am__EXEEXT_FALSE=''
# am__EXEEXT_TRUE='#'
# am__fastdepCC_FALSE='#'
# am__fastdepCC_TRUE=''
# am__include='include'
# am__isrc=''
# am__leading_dot='.'
# am__nodep='_no'
# am__quote=''
# am__tar='$${TAR-tar} chof - "$$tardir"'
# am__untar='$${TAR-tar} xf -'
# ax_pthread_config=''
# bindir='${exec_prefix}/bin'
# build='x86_64-unknown-linux-gnu'
# build_alias=''
# build_cpu='x86_64'
# build_os='linux-gnu'
# build_vendor='unknown'
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# dvidir='${docdir}'
# enable_pcre2_16='no'
# enable_pcre2_32='no'
# enable_pcre2_8='yes'
# exec_prefix='${prefix}'
# host='x86_64-unknown-linux-gnu'
# host_alias=''
# host_cpu='x86_64'
# host_os='linux-gnu'
# host_vendor='unknown'
# htmldir='${docdir}/html'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# install_sh='${SHELL} /tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2-10.21/install-sh'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/man'
# mkdir_p='$(MKDIR_P)'
# oldincludedir='/usr/include'
# pdfdir='${docdir}'
# prefix='/tmp/unrealircd/src/unrealircd-4.0.4/extras/pcre2'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "PCRE2"
# #define PACKAGE_TARNAME "pcre2"
# #define PACKAGE_VERSION "10.21"
# #define PACKAGE_STRING "PCRE2 10.21"
# #define PACKAGE_BUGREPORT ""
# #define PACKAGE_URL ""
# #define PACKAGE "pcre2"
# #define VERSION "10.21"
# #define STDC_HEADERS 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_STAT_H 1
# #define HAVE_STDLIB_H 1
# #define HAVE_STRING_H 1
# #define HAVE_MEMORY_H 1
# #define HAVE_STRINGS_H 1
# #define HAVE_INTTYPES_H 1
# #define HAVE_STDINT_H 1
# #define HAVE_UNISTD_H 1
# #define HAVE_DLFCN_H 1
# #define LT_OBJDIR ".libs/"
# #define PCRE2_EXP_DECL extern __attribute__ ((visibility ("default")))
# #define PCRE2_EXP_DEFN __attribute__ ((visibility ("default")))
# #define PCRE2POSIX_EXP_DECL extern __attribute__ ((visibility ("default")))
# #define PCRE2POSIX_EXP_DEFN extern __attribute__ ((visibility ("default")))
# #define HAVE_VISIBILITY 1
# #define STDC_HEADERS 1
# #define HAVE_LIMITS_H 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_STAT_H 1
# #define HAVE_DIRENT_H 1
# #define HAVE_BCOPY 1
# #define HAVE_MEMMOVE 1
# #define HAVE_STRERROR 1
# #define HAVE_ZLIB_H 1
# #define HAVE_BZLIB_H 1
# #define PCRE2_STATIC 1
# #define SUPPORT_PCRE2_8 /**/
# #define HAVE_PTHREAD_PRIO_INHERIT 1
# #define HAVE_PTHREAD 1
# #define SUPPORT_JIT /**/
# #define SUPPORT_PCRE2GREP_JIT /**/
# #define PCRE2GREP_BUFSIZE 20480
# #define NEWLINE_DEFAULT 2
# #define LINK_SIZE 2
# #define PARENS_NEST_LIMIT 250
# #define MATCH_LIMIT 10000000
# #define MATCH_LIMIT_RECURSION MATCH_LIMIT
# #define MAX_NAME_SIZE 32
# #define MAX_NAME_COUNT 10000
#
# configure: exit 0

CMD: config logfiles '/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares-1.10.0/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# It was created by c-ares configure 1.10.0-unrl, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --prefix=/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares --disable-shared
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 69347dba162c
# uname -m = x86_64
# uname -r = 4.10.6-1-ARCH
# uname -s = Linux
# uname -v = #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017
#
# /usr/bin/uname -p = unknown
# /bin/uname -X = unknown
#
# /bin/arch = unknown
# /usr/bin/arch -k = unknown
# /usr/convex/getsysinfo = unknown
# /usr/bin/hostinfo = unknown
# /bin/machine = unknown
# /usr/bin/oslevel = unknown
# /bin/universe = unknown
#
# PATH: /usr/bin
# PATH: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/bin
# PATH: /usr/lib/jvm/default/bin
# PATH: /usr/bin/site_perl
# PATH: /usr/bin/vendor_perl
# PATH: /usr/bin/core_perl
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:2764: checking whether to enable maintainer-specific portions of Makefiles
# configure:2773: result: no
# configure:2788: checking whether to enable debug build options
# configure:2807: result: no
# configure:2811: checking whether to enable compiler optimizer
# configure:2832: result: not specified (assuming yes)
# configure:2844: checking whether to enable strict compiler warnings
# configure:2863: result: no
# configure:2867: checking whether to enable compiler warnings as errors
# configure:2886: result: no
# configure:2890: checking whether to enable curl debug memory tracking
# configure:2909: result: no
# configure:2913: checking whether to enable hiding of library internal symbols
# configure:2929: result: yes
# configure:2958: checking for path separator
# configure:2960: result: :
# configure:2973: checking for sed
# configure:2992: found /usr/bin/sed
# configure:3005: result: /usr/bin/sed
# configure:3020: checking for grep
# configure:3039: found /usr/bin/grep
# configure:3052: result: /usr/bin/grep
# configure:3066: checking for egrep
# configure:3069: result: /usr/bin/grep -E
# configure:3167: checking for ar
# configure:3186: found /usr/bin/ar
# configure:3198: result: /usr/bin/ar
# configure:3263: checking build system type
# configure:3277: result: x86_64-unknown-linux-gnu
# configure:3297: checking host system type
# configure:3310: result: x86_64-unknown-linux-gnu
# configure:3357: checking for a BSD-compatible install
# configure:3425: result: /usr/bin/install -c
# configure:3484: checking for gcc
# configure:3511: result: clang
# configure:3740: checking for C compiler version
# configure:3749: clang --version >&5
# clang version 3.8.0 (tags/RELEASE_380/final)
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /usr/bin
# configure:3760: $? = 0
# configure:3749: clang -v >&5
# clang version 3.8.0 (tags/RELEASE_380/final)
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /usr/bin
# Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# ... rest of stderr output deleted ...
# configure:3760: $? = 0
# configure:3749: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:3760: $? = 1
# configure:3749: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:3760: $? = 1
# configure:3779: checking whether the C compiler works
# configure:3801: clang -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# configure:3805: $? = 0
# configure:3853: result: yes
# configure:3856: checking for C compiler default output file name
# configure:3858: result: a.out
# configure:3864: checking for suffix of executables
# configure:3871: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# configure:3875: $? = 0
# configure:3897: result:
# configure:3918: checking whether we are cross compiling
# configure:3926: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# configure:3930: $? = 0
# configure:3937: ./conftest
# configure:3941: $? = 0
# configure:3956: result: no
# configure:3961: checking for suffix of object files
# configure:3982: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:3986: $? = 0
# configure:4007: result: o
# configure:4011: checking whether we are using the GNU C compiler
# configure:4029: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:4029: $? = 0
# configure:4038: result: yes
# configure:4047: checking whether clang accepts -g
# configure:4066: clang -c -g conftest.c >&5
# configure:4066: $? = 0
# configure:4105: result: yes
# configure:4122: checking for clang option to accept ISO C89
# configure:4184: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:4184: $? = 0
# configure:4197: result: none needed
# configure:4218: checking whether clang and cc understand -c and -o together
# configure:4248: clang -c conftest.c -o conftest2.o >&5
# configure:4252: $? = 0
# configure:4258: clang -c conftest.c -o conftest2.o >&5
# configure:4262: $? = 0
# configure:4273: cc -c conftest.c >&5
# configure:4277: $? = 0
# configure:4285: cc -c conftest.c -o conftest2.o >&5
# configure:4289: $? = 0
# configure:4295: cc -c conftest.c -o conftest2.o >&5
# configure:4299: $? = 0
# configure:4317: result: yes
# configure:4350: checking how to run the C preprocessor
# configure:4381: clang -E conftest.c
# configure:4381: $? = 0
# configure:4395: clang -E conftest.c
# conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:4395: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | /* end confdefs.h. */
# | #include
# configure:4420: result: clang -E
# configure:4440: clang -E conftest.c
# configure:4440: $? = 0
# configure:4454: clang -E conftest.c
# conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:4454: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | /* end confdefs.h. */
# | #include
# configure:4496: checking whether build environment is sane
# configure:4546: result: yes
# configure:4684: checking for a thread-safe mkdir -p
# configure:4723: result: /usr/bin/mkdir -p
# configure:4736: checking for gawk
# configure:4752: found /usr/bin/gawk
# configure:4763: result: gawk
# configure:4774: checking whether make sets $(MAKE)
# configure:4796: result: yes
# configure:4826: checking for style of include used by make
# configure:4854: result: GNU
# configure:4940: checking dependency style of clang
# configure:5051: result: gcc3
# configure:5070: checking for grep that handles long lines and -e
# configure:5128: result: /usr/bin/grep
# configure:5133: checking for egrep
# configure:5195: result: /usr/bin/grep -E
# configure:5202: checking if OS is AIX (to define _ALL_SOURCE)
# configure:5222: result: no
# configure:5232: checking if _THREAD_SAFE is already defined
# configure:5253: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# conftest.c:21:7: error: use of undeclared identifier 'force'
# force compilation error
# ^
# 1 error generated.
# configure:5253: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | /* end confdefs.h. */
# |
# |
# |
# | int main (void)
# | {
# |
# | #ifdef _THREAD_SAFE
# | int dummy=1;
# | #else
# | force compilation error
# | #endif
# |
# | ;
# | return 0;
# | }
# |
# configure:5261: result: no
# configure:5269: checking if _THREAD_SAFE is actually needed
# configure:5288: result: no
# configure:5293: checking if _THREAD_SAFE is onwards defined
# configure:5310: result: no
# configure:5317: checking if _REENTRANT is already defined
# configure:5338: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# conftest.c:21:7: error: use of undeclared identifier 'force'
# force compilation error
# ^
# 1 error generated.
# configure:5338: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | /* end confdefs.h. */
# |
# |
# |
# | int main (void)
# | {
# |
# | #ifdef _REENTRANT
# | int dummy=1;
# | #else
# | force compilation error
# | #endif
# |
# | ;
# | return 0;
# | }
# |
# configure:5346: result: no
# configure:5354: checking if _REENTRANT is actually needed
# configure:5385: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:5385: $? = 0
# configure:5416: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:5416: $? = 0
# configure:5487: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# configure:5487: $? = 0
# configure:5566: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# configure:5566: $? = 0
# configure:5645: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# configure:5645: $? = 0
# configure:5724: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# configure:5724: $? = 0
# configure:5803: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# /tmp/conftest-2239e7.o: In function `main':
# conftest.c:(.text+0x12): undefined reference to `inet_ntoa_r'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:5803: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | /* end confdefs.h. */
# |
# |
# | #define inet_ntoa_r innocuous_inet_ntoa_r
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# | #undef inet_ntoa_r
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char inet_ntoa_r ();
# | #if defined __stub_inet_ntoa_r || defined __stub___inet_ntoa_r
# | choke me
# | #endif
# |
# | int main (void)
# | {
# | return inet_ntoa_r ();
# | ;
# | return 0;
# | }
# |
# configure:5886: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# configure:5886: $? = 0
# configure:5965: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# configure:5965: $? = 0
# configure:6044: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# configure:6044: $? = 0
# configure:6123: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# configure:6123: $? = 0
# configure:6179: result: no
# configure:6184: checking if _REENTRANT is onwards defined
# configure:6201: result: no
# configure:6214: checking for special C compiler options needed for large files
# configure:6258: result: no
# configure:6264: checking for _FILE_OFFSET_BITS value needed for large files
# configure:6288: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:6288: $? = 0
# configure:6319: result: no
# configure:6457: checking how to print strings
# configure:6484: result: printf
# configure:6505: checking for a sed that does not truncate output
# configure:6569: result: /usr/bin/sed
# configure:6587: checking for fgrep
# configure:6649: result: /usr/bin/grep -F
# configure:6684: checking for ld used by clang
# configure:6751: result: /usr/bin/ld
# configure:6758: checking if the linker (/usr/bin/ld) is GNU ld
# configure:6773: result: yes
# configure:6785: checking for BSD- or MS-compatible name lister (nm)
# configure:6834: result: /usr/bin/nm -B
# configure:6964: checking the name lister (/usr/bin/nm -B) interface
# configure:6971: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:6974: /usr/bin/nm -B "conftest.o"
# configure:6977: output
# 0000000000000000 B some_variable
# configure:6984: result: BSD nm
# configure:6987: checking whether ln -s works
# configure:6991: result: yes
# configure:6999: checking the maximum length of command line arguments
# configure:7129: result: 1572864
# configure:7146: checking whether the shell understands some XSI constructs
# configure:7156: result: yes
# configure:7160: checking whether the shell understands "+="
# configure:7166: result: yes
# configure:7201: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format
# configure:7241: result: func_convert_file_noop
# configure:7248: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format
# configure:7268: result: func_convert_file_noop
# configure:7275: checking for /usr/bin/ld option to reload object files
# configure:7282: result: -r
# configure:7356: checking for objdump
# configure:7372: found /usr/bin/objdump
# configure:7383: result: objdump
# configure:7412: checking how to recognize dependent libraries
# configure:7610: result: pass_all
# configure:7695: checking for dlltool
# configure:7725: result: no
# configure:7752: checking how to associate runtime and link libraries
# configure:7779: result: printf %s\n
# configure:7903: checking for archiver @FILE support
# configure:7919: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:7919: $? = 0
# configure:7922: /usr/bin/ar cru libconftest.a @conftest.lst >&5
# /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
# configure:7925: $? = 0
# configure:7930: /usr/bin/ar cru libconftest.a @conftest.lst >&5
# /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
# /usr/bin/ar: conftest.o: No such file or directory
# configure:7933: $? = 1
# configure:7945: result: @
# configure:8003: checking for strip
# configure:8019: found /usr/bin/strip
# configure:8030: result: strip
# configure:8102: checking for ranlib
# configure:8118: found /usr/bin/ranlib
# configure:8129: result: ranlib
# configure:8231: checking command to parse /usr/bin/nm -B output from clang object
# configure:8351: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:8354: $? = 0
# configure:8358: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
# configure:8361: $? = 0
# configure:8427: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c conftstm.o >&5
# configure:8430: $? = 0
# configure:8468: result: ok
# configure:8505: checking for sysroot
# configure:8535: result: no
# configure:8612: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:8615: $? = 0
# configure:8790: checking for mt
# configure:8820: result: no
# configure:8840: checking if : is a manifest tool
# configure:8846: : '-?'
# configure:8854: result: no
# configure:9490: checking for ANSI C header files
# configure:9509: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:9509: $? = 0
# configure:9582: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# configure:9582: $? = 0
# configure:9582: ./conftest
# configure:9582: $? = 0
# configure:9593: result: yes
# configure:9606: checking for sys/types.h
# configure:9606: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:9606: $? = 0
# configure:9606: result: yes
# configure:9606: checking for sys/stat.h
# configure:9606: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:9606: $? = 0
# configure:9606: result: yes
# configure:9606: checking for stdlib.h
# configure:9606: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:9606: $? = 0
# configure:9606: result: yes
# configure:9606: checking for string.h
# configure:9606: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:9606: $? = 0
# configure:9606: result: yes
# configure:9606: checking for memory.h
# configure:9606: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:9606: $? = 0
# configure:9606: result: yes
# configure:9606: checking for strings.h
# configure:9606: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:9606: $? = 0
# configure:9606: result: yes
# configure:9606: checking for inttypes.h
# configure:9606: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:9606: $? = 0
# configure:9606: result: yes
# configure:9606: checking for stdint.h
# configure:9606: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:9606: $? = 0
# configure:9606: result: yes
# configure:9606: checking for unistd.h
# configure:9606: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:9606: $? = 0
# configure:9606: result: yes
# configure:9620: checking for dlfcn.h
# configure:9620: clang -c -pipe -funsigned-char -Wl,-export-dynamic conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:9620: $? = 0
# configure:9620: result: yes
# configure:10231: checking for objdir
# configure:10246: result: .libs
# configure:10517: checking if clang supports -fno-rtti -fno-exceptions
# configure:10535: clang -c -pipe -funsigned-char -Wl,-export-dynamic -fno-rtti -fno-exceptions conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:10539: $? = 0
# configure:10552: result: yes
# configure:10879: checking for clang option to produce PIC
# configure:10886: result: -fPIC -DPIC
# configure:10894: checking if clang PIC flag -fPIC -DPIC works
# configure:10912: clang -c -pipe -funsigned-char -Wl,-export-dynamic -fPIC -DPIC -DPIC conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:10916: $? = 0
# configure:10929: result: yes
# configure:10958: checking if clang static flag -static works
# configure:10986: result: no
# configure:11001: checking if clang supports -c -o file.o
# configure:11022: clang -c -pipe -funsigned-char -Wl,-export-dynamic -o out/conftest2.o conftest.c >&5
# clang-3.8: warning: -Wl,-export-dynamic: 'linker' input unused
# configure:11026: $? = 0
# configure:11048: result: yes
# configure:11056: checking if clang supports -c -o file.o
# configure:11103: result: yes
# configure:11136: checking whether the clang linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
# configure:12291: result: yes
# configure:12531: checking dynamic linker characteristics
# configure:13030: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Wl,-rpath -Wl,/foo conftest.c >&5
# configure:13030: $? = 0
# configure:13264: result: GNU/Linux ld.so
# configure:13371: checking how to hardcode library paths into programs
# configure:13396: result: immediate
# configure:13921: checking whether stripping libraries is possible
# configure:13926: result: yes
# configure:13961: checking if libtool supports shared libraries
# configure:13963: result: yes
# configure:13966: checking whether to build shared libraries
# configure:13987: result: no
# configure:13990: checking whether to build static libraries
# configure:13994: result: yes
# configure:14065: checking whether to build shared libraries with -version-info
# configure:14076: result: yes
# configure:14083: checking whether to build shared libraries with -no-undefined
# configure:14096: result: no
# configure:14103: checking whether to build shared libraries with -mimpure-text
# configure:14113: result: no
# configure:14140: checking whether to build shared libraries with PIC
# configure:14142: result: yes
# configure:14144: checking whether to build static libraries with PIC
# configure:14146: result: yes
# configure:14153: checking whether to build shared libraries only
# configure:14161: result: no
# configure:14168: checking whether to build static libraries only
# configure:14176: result: yes
# configure:14264: checking if compiler is DEC/Compaq/HP C
# configure:14285: clang -E conftest.c
# configure:14285: $? = 0
# configure:14325: clang -E conftest.c
# configure:14325: $? = 0
# configure:14358: result: no
# configure:14363: checking if compiler is HP-UX C
# configure:14384: clang -E conftest.c
# configure:14384: $? = 0
# configure:14416: result: no
# configure:14421: checking if compiler is IBM C
# configure:14442: clang -E conftest.c
# configure:14442: $? = 0
# configure:14482: result: no
# configure:14487: checking if compiler is Intel C
# configure:14508: clang -E conftest.c
# configure:14508: $? = 0
# configure:14598: result: no
# configure:14603: checking if compiler is clang
# configure:14624: clang -E conftest.c
# configure:14624: $? = 0
# configure:14646: result: yes
# configure:14672: checking if compiler is GNU C
# configure:14693: clang -E conftest.c
# configure:14693: $? = 0
# configure:14777: result: no
# configure:14782: checking if compiler is LCC
# configure:14803: clang -E conftest.c
# configure:14803: $? = 0
# configure:14835: result: no
# configure:14840: checking if compiler is SGI MIPSpro C
# configure:14861: clang -E conftest.c
# configure:14861: $? = 0
# configure:14901: clang -E conftest.c
# configure:14901: $? = 0
# configure:14941: clang -E conftest.c
# configure:14941: $? = 0
# configure:14975: result: no
# configure:14980: checking if compiler is SGI MIPS C
# configure:15001: clang -E conftest.c
# configure:15001: $? = 0
# configure:15041: clang -E conftest.c
# configure:15041: $? = 0
# configure:15075: result: no
# configure:15080: checking if compiler is SunPro C
# configure:15101: clang -E conftest.c
# configure:15101: $? = 0
# configure:15133: result: no
# configure:15138: checking if compiler is Tiny C
# configure:15159: clang -E conftest.c
# configure:15159: $? = 0
# configure:15191: result: no
# configure:15196: checking if compiler is Watcom C
# configure:15217: clang -E conftest.c
# configure:15217: $? = 0
# configure:15299: result: no
# configure:15469: checking if compiler accepts some basic options
# configure:15493: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments conftest.c >&5
# configure:15493: $? = 0
# configure:15523: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments conftest.c >&5
# configure:15523: $? = 0
# configure:15565: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments conftest.c >&5
# configure:15565: $? = 0
# configure:15565: ./conftest
# configure:15565: $? = 0
# configure:15584: result: yes
# configure:15586: compiler options added: -Qunused-arguments
# configure:15653: checking if compiler accepts debug disabling options
# configure:15685: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 conftest.c >&5
# configure:15685: $? = 0
# configure:15715: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 conftest.c >&5
# configure:15715: $? = 0
# configure:15757: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 conftest.c >&5
# configure:15757: $? = 0
# configure:15757: ./conftest
# configure:15757: $? = 0
# configure:15776: result: yes
# configure:15778: compiler options added: -g0
# configure:15810: checking if compiler optimizer assumed setting might be used
# configure:15848: result: yes
# configure:15894: checking if compiler accepts optimizer enabling options
# configure:15930: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:15930: $? = 0
# configure:15960: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:15960: $? = 0
# configure:16002: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:16002: $? = 0
# configure:16002: ./conftest
# configure:16002: $? = 0
# configure:16021: result: yes
# configure:16023: compiler options added: -Os
# configure:16423: checking if compiler halts on compilation errors
# configure:16440: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:30:7: error: use of undeclared identifier 'force'
# force compilation error
# ^
# 1 error generated.
# configure:16440: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | /* end confdefs.h. */
# |
# |
# |
# | int main (void)
# | {
# |
# | force compilation error
# |
# | ;
# | return 0;
# | }
# |
# configure:16448: result: yes
# configure:16455: checking if compiler halts on negative sized arrays
# configure:16473: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:26:26: error: 'bad_t' declared as an array with a negative size
# typedef char bad_t[sizeof(char) == sizeof(int) ? -1 : -1 ];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:16473: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | /* end confdefs.h. */
# |
# |
# | typedef char bad_t[sizeof(char) == sizeof(int) ? -1 : -1 ];
# |
# | int main (void)
# | {
# |
# | bad_t dummy;
# |
# | ;
# | return 0;
# | }
# |
# configure:16481: result: yes
# configure:16488: checking if compiler halts on function prototype mismatch
# configure:16517: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:27:11: error: conflicting types for 'rand'
# int rand(int n);
# ^
# /usr/include/stdlib.h:374:12: note: previous declaration is here
# extern int rand (void) __THROW;
# ^
# conftest.c:28:11: error: conflicting types for 'rand'
# int rand(int n)
# ^
# /usr/include/stdlib.h:374:12: note: previous declaration is here
# extern int rand (void) __THROW;
# ^
# conftest.c:40:20: error: too many arguments to function call, expected 0, have 1
# int j = rand(i[0]);
# ~~~~ ^~~~
# /usr/include/stdlib.h:374:1: note: 'rand' declared here
# extern int rand (void) __THROW;
# ^
# 3 errors generated.
# configure:16517: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | /* end confdefs.h. */
# |
# |
# | # include
# | int rand(int n);
# | int rand(int n)
# | {
# | if(n)
# | return ++n;
# | else
# | return n;
# | }
# |
# | int main (void)
# | {
# |
# | int i[2];
# | int j = rand(i[0]);
# | if(j)
# | return j;
# |
# | ;
# | return 0;
# | }
# |
# configure:16525: result: yes
# configure:16532: checking if compiler supports hiding library internal symbols
# configure:16626: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os -fvisibility=hidden conftest.c >&5
# configure:16626: $? = 0
# configure:16649: result: yes
# configure:16761: checking for windows.h
# configure:16791: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:30:10: fatal error: 'windows.h' file not found
# #include
# ^
# 1 error generated.
# configure:16791: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# |
# | int main (void)
# | {
# |
# | #if defined(__CYGWIN__) || defined(__CEGCC__)
# | HAVE_WINDOWS_H shall not be defined.
# | #else
# | int dummy=2*WINVER;
# | #endif
# |
# | ;
# | return 0;
# | }
# |
# configure:16803: result: no
# configure:16821: checking whether build target is a native Windows one
# configure:16863: result: no
# configure:17055: checking if X/Open network library is required
# configure:17075: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:33:3: error: use of undeclared identifier 'force'
# force compilation error
# ^
# 1 error generated.
# configure:17075: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | /* end confdefs.h. */
# |
# |
# | int main (void)
# | {
# | #if defined(__hpux) && defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 600)
# | return 0;
# | #elif defined(__hpux) && defined(_XOPEN_SOURCE_EXTENDED)
# | return 0;
# | #else
# | force compilation error
# | #endif
# | }
# |
# |
# configure:17082: result: no
# configure:17086: checking for gethostbyname
# configure:17086: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:17086: $? = 0
# configure:17086: result: yes
# configure:17406: checking for strcasecmp
# configure:17406: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:35:6: warning: incompatible redeclaration of library function 'strcasecmp' [-Wincompatible-library-redeclaration]
# char strcasecmp ();
# ^
# conftest.c:35:6: note: 'strcasecmp' is a builtin with type 'int (const char *, const char *)'
# 1 warning generated.
# configure:17406: $? = 0
# configure:17406: result: yes
# configure:17514: checking for windows.h
# configure:17556: result: no
# configure:17574: checking for winsock.h
# configure:17617: result: no
# configure:17630: checking for winsock2.h
# configure:17673: result: no
# configure:17687: checking for connect in libraries
# configure:17714: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:17714: $? = 0
# configure:17732: result: yes
# configure:17743: checking whether time.h and sys/time.h may both be included
# configure:17762: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:17762: $? = 0
# configure:17769: result: yes
# configure:17781: checking for sys/types.h
# configure:17781: result: yes
# configure:17781: checking sys/time.h usability
# configure:17781: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:17781: $? = 0
# configure:17781: result: yes
# configure:17781: checking sys/time.h presence
# configure:17781: clang -E conftest.c
# configure:17781: $? = 0
# configure:17781: result: yes
# configure:17781: checking for sys/time.h
# configure:17781: result: yes
# configure:17781: checking time.h usability
# configure:17781: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:17781: $? = 0
# configure:17781: result: yes
# configure:17781: checking time.h presence
# configure:17781: clang -E conftest.c
# configure:17781: $? = 0
# configure:17781: result: yes
# configure:17781: checking for time.h
# configure:17781: result: yes
# configure:17791: checking for monotonic clock_gettime
# configure:17822: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:17822: $? = 0
# configure:17824: result: yes
# configure:17841: checking for clock_gettime in libraries
# configure:17883: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:17883: $? = 0
# configure:17904: result: no additional lib required
# configure:17922: checking if monotonic clock_gettime works
# configure:17965: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:17965: $? = 0
# configure:17965: ./conftest
# configure:17965: $? = 0
# configure:17967: result: yes
# configure:18000: checking whether to use libgcc
# configure:18015: result: no
# configure:18025: checking for ANSI C header files
# configure:18128: result: yes
# configure:18138: checking for malloc.h
# configure:18163: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18163: $? = 0
# configure:18175: result: yes
# configure:18203: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18203: $? = 0
# configure:18226: checking for memory.h
# configure:18263: result: yes
# configure:18291: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18291: $? = 0
# configure:18337: checking for sys/types.h
# configure:18337: result: yes
# configure:18337: checking for sys/time.h
# configure:18337: result: yes
# configure:18337: checking for sys/select.h
# configure:18337: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18337: $? = 0
# configure:18337: result: yes
# configure:18337: checking for sys/socket.h
# configure:18337: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18337: $? = 0
# configure:18337: result: yes
# configure:18337: checking for sys/ioctl.h
# configure:18337: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18337: $? = 0
# configure:18337: result: yes
# configure:18337: checking for sys/param.h
# configure:18337: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18337: $? = 0
# configure:18337: result: yes
# configure:18337: checking for sys/uio.h
# configure:18337: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18337: $? = 0
# configure:18337: result: yes
# configure:18337: checking for assert.h
# configure:18337: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18337: $? = 0
# configure:18337: result: yes
# configure:18337: checking for netdb.h
# configure:18337: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18337: $? = 0
# configure:18337: result: yes
# configure:18337: checking for netinet/in.h
# configure:18337: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18337: $? = 0
# configure:18337: result: yes
# configure:18337: checking for netinet/tcp.h
# configure:18337: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18337: $? = 0
# configure:18337: result: yes
# configure:18337: checking for net/if.h
# configure:18337: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18337: $? = 0
# configure:18337: result: yes
# configure:18337: checking for errno.h
# configure:18337: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18337: $? = 0
# configure:18337: result: yes
# configure:18337: checking for socket.h
# configure:18337: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:65:10: fatal error: 'socket.h' file not found
# #include
# ^
# 1 error generated.
# configure:18337: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | /* end confdefs.h. */
# |
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_TIME_H
# | #include
# | #endif
# | #ifdef HAVE_ARPA_NAMESER_H
# | #include
# | #endif
# |
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETINET_IN_H
# | #include
# | #endif
# |
# |
# |
# | #include
# configure:18337: result: no
# configure:18337: checking for strings.h
# configure:18337: result: yes
# configure:18337: checking for stdbool.h
# configure:18337: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18337: $? = 0
# configure:18337: result: yes
# configure:18337: checking for time.h
# configure:18337: result: yes
# configure:18337: checking for limits.h
# configure:18337: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18337: $? = 0
# configure:18337: result: yes
# configure:18337: checking for arpa/nameser.h
# configure:18337: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18337: $? = 0
# configure:18337: result: yes
# configure:18337: checking for arpa/nameser_compat.h
# configure:18337: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18337: $? = 0
# configure:18337: result: yes
# configure:18337: checking for arpa/inet.h
# configure:18337: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18337: $? = 0
# configure:18337: result: yes
# configure:18367: checking for an ANSI C-conforming const
# configure:18432: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18432: $? = 0
# configure:18439: result: yes
# configure:18447: checking for size_t
# configure:18447: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18447: $? = 0
# configure:18447: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:87:21: error: expected expression
# if (sizeof ((size_t)))
# ^
# 1 error generated.
# configure:18447: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | /* end confdefs.h. */
# | #include
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_STAT_H
# | # include
# | #endif
# | #ifdef STDC_HEADERS
# | # include
# | # include
# | #else
# | # ifdef HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #ifdef HAVE_STRING_H
# | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | #ifdef HAVE_INTTYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STDINT_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | int main (void)
# | {
# | if (sizeof ((size_t)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:18447: result: yes
# configure:18458: checking whether time.h and sys/time.h may both be included
# configure:18484: result: yes
# configure:18496: checking for sys/types.h
# configure:18496: result: yes
# configure:18496: checking for sys/time.h
# configure:18496: result: yes
# configure:18496: checking for time.h
# configure:18496: result: yes
# configure:18496: checking for sys/socket.h
# configure:18496: result: yes
# configure:18506: checking for struct timeval
# configure:18559: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18559: $? = 0
# configure:18571: result: yes
# configure:18588: checking size of size_t
# configure:18593: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18593: $? = 0
# configure:18593: ./conftest
# configure:18593: $? = 0
# configure:18607: result: 8
# configure:18621: checking size of long
# configure:18626: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18626: $? = 0
# configure:18626: ./conftest
# configure:18626: $? = 0
# configure:18640: result: 8
# configure:18654: checking size of int
# configure:18659: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18659: $? = 0
# configure:18659: ./conftest
# configure:18659: $? = 0
# configure:18673: result: 4
# configure:18687: checking size of short
# configure:18692: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18692: $? = 0
# configure:18692: ./conftest
# configure:18692: $? = 0
# configure:18706: result: 2
# configure:18731: checking size of time_t
# configure:18736: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18736: $? = 0
# configure:18736: ./conftest
# configure:18736: $? = 0
# configure:18750: result: 8
# configure:18761: checking for long long
# configure:18761: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18761: $? = 0
# configure:18761: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:99:24: error: expected expression
# if (sizeof ((long long)))
# ^
# 1 error generated.
# configure:18761: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | /* end confdefs.h. */
# | #include
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_STAT_H
# | # include
# | #endif
# | #ifdef STDC_HEADERS
# | # include
# | # include
# | #else
# | # ifdef HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #ifdef HAVE_STRING_H
# | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | #ifdef HAVE_INTTYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STDINT_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | int main (void)
# | {
# | if (sizeof ((long long)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:18761: result: yes
# configure:18772: checking if numberLL works
# configure:18789: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18789: $? = 0
# configure:18791: result: yes
# configure:18808: checking for ssize_t
# configure:18808: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18808: $? = 0
# configure:18808: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:101:22: error: expected expression
# if (sizeof ((ssize_t)))
# ^
# 1 error generated.
# configure:18808: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | /* end confdefs.h. */
# | #include
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_STAT_H
# | # include
# | #endif
# | #ifdef STDC_HEADERS
# | # include
# | # include
# | #else
# | # ifdef HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #ifdef HAVE_STRING_H
# | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | #ifdef HAVE_INTTYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STDINT_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | int main (void)
# | {
# | if (sizeof ((ssize_t)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:18808: result: yes
# configure:18819: checking for bool
# configure:18819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18819: $? = 0
# configure:18819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:77:19: error: expected expression
# if (sizeof ((bool)))
# ^
# 1 error generated.
# configure:18819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | /* end confdefs.h. */
# |
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_STDBOOL_H
# | #include
# | #endif
# |
# |
# | int main (void)
# | {
# | if (sizeof ((bool)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:18819: result: yes
# configure:18854: checking for windows.h
# configure:18896: result: no
# configure:18914: checking for winsock2.h
# configure:18957: result: no
# configure:18970: checking for ws2tcpip.h
# configure:19014: result: no
# configure:19040: checking for sys/types.h
# configure:19040: result: yes
# configure:19040: checking for sys/socket.h
# configure:19040: result: yes
# configure:19064: checking for ares_socklen_t data type
# configure:19092: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19092: $? = 0
# configure:19129: result: socklen_t
# configure:19136: checking size of ares_socklen_t
# configure:19182: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:72:21: error: unknown type name 'socklen_t'
# typedef socklen_t ares_socklen_t;
# ^
# 1 error generated.
# configure:19182: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# |
# | typedef socklen_t ares_socklen_t;
# | typedef char dummy_arr[sizeof(ares_socklen_t) == 4 ? 1 : -1];
# |
# | int main (void)
# | {
# |
# | ares_socklen_t dummy;
# |
# | ;
# | return 0;
# | }
# |
# configure:19182: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:72:21: error: unknown type name 'socklen_t'
# typedef socklen_t ares_socklen_t;
# ^
# 1 error generated.
# configure:19182: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# |
# | typedef socklen_t ares_socklen_t;
# | typedef char dummy_arr[sizeof(ares_socklen_t) == 4 ? 1 : -1];
# |
# | int main (void)
# | {
# |
# | ares_socklen_t dummy;
# |
# | ;
# | return 0;
# | }
# |
# configure:19182: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19182: $? = 0
# configure:19192: result: 4
# configure:19239: checking for in_addr_t
# configure:19239: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19239: $? = 0
# configure:19239: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:24: error: expected expression
# if (sizeof ((in_addr_t)))
# ^
# 1 error generated.
# configure:19239: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | /* end confdefs.h. */
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETINET_IN_H
# | #include
# | #endif
# | #ifdef HAVE_ARPA_INET_H
# | #include
# | #endif
# | #endif
# |
# |
# | int main (void)
# | {
# | if (sizeof ((in_addr_t)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:19239: result: yes
# configure:19355: checking for struct sockaddr_storage
# configure:19355: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19355: $? = 0
# configure:19355: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:101:38: error: expected expression
# if (sizeof ((struct sockaddr_storage)))
# ^
# 1 error generated.
# configure:19355: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | /* end confdefs.h. */
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #endif
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETINET_IN_H
# | #include
# | #endif
# | #ifdef HAVE_ARPA_INET_H
# | #include
# | #endif
# | #endif
# |
# |
# | int main (void)
# | {
# | if (sizeof ((struct sockaddr_storage)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:19355: result: yes
# configure:19392: checking signal.h usability
# configure:19392: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19392: $? = 0
# configure:19392: result: yes
# configure:19392: checking signal.h presence
# configure:19392: clang -E conftest.c
# configure:19392: $? = 0
# configure:19392: result: yes
# configure:19392: checking for signal.h
# configure:19392: result: yes
# configure:19402: checking for sig_atomic_t
# configure:19402: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19402: $? = 0
# configure:19402: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:83:27: error: expected expression
# if (sizeof ((sig_atomic_t)))
# ^
# 1 error generated.
# configure:19402: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | /* end confdefs.h. */
# |
# | #ifdef HAVE_SIGNAL_H
# | #include
# | #endif
# |
# |
# | int main (void)
# | {
# | if (sizeof ((sig_atomic_t)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:19402: result: yes
# configure:19419: checking if sig_atomic_t is already defined as volatile
# configure:19439: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19439: $? = 0
# configure:19441: result: no
# configure:19464: checking return type of signal handlers
# configure:19481: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:81:8: error: indirection requires pointer operand ('void' invalid)
# return *(signal (0, 0)) (0) == 1;
# ^~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:19481: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | /* end confdefs.h. */
# | #include
# | #include
# |
# | int main (void)
# | {
# | return *(signal (0, 0)) (0) == 1;
# | ;
# | return 0;
# | }
# configure:19488: result: void
# configure:19501: checking for sys/types.h
# configure:19501: result: yes
# configure:19501: checking for sys/socket.h
# configure:19501: result: yes
# configure:19512: checking for recv
# configure:19550: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19550: $? = 0
# configure:19552: result: yes
# configure:19567: checking types of args and return type for recv
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(int, char *, size_t, int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, char *, size_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(int, char *, size_t, unsigned int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, char *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(int, char *, int, int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, char *, int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(int, char *, int, unsigned int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, char *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(int, char *, socklen_t, int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, char *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(int, char *, socklen_t, unsigned int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, char *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(int, char *, unsigned int, int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, char *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(int, char *, unsigned int, unsigned int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, char *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(int, void *, size_t, int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, void *, size_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(int, void *, size_t, unsigned int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, void *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(int, void *, int, int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, void *, int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(int, void *, int, unsigned int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, void *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(int, void *, socklen_t, int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, void *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(int, void *, socklen_t, unsigned int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, void *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(int, void *, unsigned int, int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, void *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(int, void *, unsigned int, unsigned int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(int, void *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, size_t, int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, char *, size_t, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, size_t, unsigned int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, char *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, int, int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, char *, int, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, int, unsigned int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, char *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, socklen_t, int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, char *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, socklen_t, unsigned int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, char *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, unsigned int, int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, char *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, unsigned int, unsigned int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, char *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, size_t, int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, void *, size_t, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, size_t, unsigned int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, void *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, int, int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, void *, int, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, int, unsigned int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, void *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, socklen_t, int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, void *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, socklen_t, unsigned int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, void *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, unsigned int, int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, void *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, unsigned int, unsigned int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(ssize_t, void *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:36: error: expected identifier
# recv(SOCKET, char *, size_t, int);
# ^
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(SOCKET, char *, size_t, int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# conftest.c:110:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:114:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, char *, size_t, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:36: error: expected identifier
# recv(SOCKET, char *, size_t, unsigned int);
# ^
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(SOCKET, char *, size_t, unsigned int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# conftest.c:110:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:114:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, char *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:36: error: expected identifier
# recv(SOCKET, char *, int, int);
# ^
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(SOCKET, char *, int, int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# conftest.c:110:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:114:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, char *, int, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:36: error: expected identifier
# recv(SOCKET, char *, int, unsigned int);
# ^
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(SOCKET, char *, int, unsigned int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# conftest.c:110:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:114:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, char *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:36: error: expected identifier
# recv(SOCKET, char *, socklen_t, int);
# ^
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(SOCKET, char *, socklen_t, int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# conftest.c:110:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:114:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, char *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:36: error: expected identifier
# recv(SOCKET, char *, socklen_t, unsigned int);
# ^
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(SOCKET, char *, socklen_t, unsigned int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# conftest.c:110:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:114:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, char *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:36: error: expected identifier
# recv(SOCKET, char *, unsigned int, int);
# ^
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(SOCKET, char *, unsigned int, int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# conftest.c:110:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:114:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, char *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:36: error: expected identifier
# recv(SOCKET, char *, unsigned int, unsigned int);
# ^
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(SOCKET, char *, unsigned int, unsigned int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# conftest.c:110:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:114:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, char *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:36: error: expected identifier
# recv(SOCKET, void *, size_t, int);
# ^
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(SOCKET, void *, size_t, int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# conftest.c:110:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:114:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, void *, size_t, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:36: error: expected identifier
# recv(SOCKET, void *, size_t, unsigned int);
# ^
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(SOCKET, void *, size_t, unsigned int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# conftest.c:110:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:114:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, void *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:36: error: expected identifier
# recv(SOCKET, void *, int, int);
# ^
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(SOCKET, void *, int, int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# conftest.c:110:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:114:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, void *, int, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:36: error: expected identifier
# recv(SOCKET, void *, int, unsigned int);
# ^
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(SOCKET, void *, int, unsigned int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# conftest.c:110:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:114:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, void *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:36: error: expected identifier
# recv(SOCKET, void *, socklen_t, int);
# ^
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(SOCKET, void *, socklen_t, int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# conftest.c:110:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:114:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, void *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:36: error: expected identifier
# recv(SOCKET, void *, socklen_t, unsigned int);
# ^
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(SOCKET, void *, socklen_t, unsigned int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# conftest.c:110:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:114:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, void *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:36: error: expected identifier
# recv(SOCKET, void *, unsigned int, int);
# ^
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(SOCKET, void *, unsigned int, int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# conftest.c:110:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:114:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, void *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:36: error: expected identifier
# recv(SOCKET, void *, unsigned int, unsigned int);
# ^
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(SOCKET, void *, unsigned int, unsigned int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# conftest.c:110:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:114:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern int RECVCALLCONV
# | recv(SOCKET, void *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(int, char *, size_t, int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern ssize_t RECVCALLCONV
# | recv(int, char *, size_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | ssize_t res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(int, char *, size_t, unsigned int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern ssize_t RECVCALLCONV
# | recv(int, char *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | ssize_t res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(int, char *, int, int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern ssize_t RECVCALLCONV
# | recv(int, char *, int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | ssize_t res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(int, char *, int, unsigned int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern ssize_t RECVCALLCONV
# | recv(int, char *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | ssize_t res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(int, char *, socklen_t, int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern ssize_t RECVCALLCONV
# | recv(int, char *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | ssize_t res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(int, char *, socklen_t, unsigned int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern ssize_t RECVCALLCONV
# | recv(int, char *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | ssize_t res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(int, char *, unsigned int, int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern ssize_t RECVCALLCONV
# | recv(int, char *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | ssize_t res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:105:23: error: conflicting types for 'recv'
# recv(int, char *, unsigned int, unsigned int);
# ^
# /usr/include/sys/socket.h:156:16: note: previous declaration is here
# extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:19624: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVCALLCONV
# | #endif
# | extern ssize_t RECVCALLCONV
# | recv(int, char *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | ssize_t res = recv(s, buf, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:19624: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19624: $? = 0
# configure:19638: result: int,void *,size_t,int,ssize_t
# configure:19689: checking for sys/types.h
# configure:19689: result: yes
# configure:19689: checking for sys/socket.h
# configure:19689: result: yes
# configure:19700: checking for recvfrom
# configure:19738: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19738: $? = 0
# configure:19740: result: yes
# configure:19755: checking types of args and return type for recvfrom
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, unsigned int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, unsigned int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, unsigned int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, unsigned int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, unsigned int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, unsigned int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, unsigned int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, unsigned int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, unsigned int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, unsigned int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, unsigned int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, unsigned int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, unsigned int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, unsigned int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | size_t, unsigned int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, unsigned int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, unsigned int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, unsigned int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, unsigned int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, unsigned int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, unsigned int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, unsigned int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, unsigned int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, unsigned int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, unsigned int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, unsigned int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, unsigned int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, unsigned int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, unsigned int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | int, unsigned int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, unsigned int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, unsigned int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, unsigned int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, unsigned int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, unsigned int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, unsigned int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, unsigned int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, unsigned int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, unsigned int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, unsigned int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, unsigned int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, unsigned int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, unsigned int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, unsigned int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, unsigned int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, unsigned int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, unsigned int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, unsigned int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, unsigned int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, unsigned int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(int, void *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, unsigned int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, unsigned int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, unsigned int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, unsigned int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, unsigned int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, unsigned int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, unsigned int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, unsigned int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, unsigned int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, unsigned int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, unsigned int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, unsigned int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, unsigned int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, unsigned int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | size_t, unsigned int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, unsigned int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, unsigned int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, unsigned int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, unsigned int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, unsigned int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, unsigned int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, unsigned int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, unsigned int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, unsigned int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, unsigned int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, unsigned int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, unsigned int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, unsigned int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, unsigned int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | int, unsigned int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, unsigned int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, unsigned int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, unsigned int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, unsigned int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, unsigned int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, unsigned int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, unsigned int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, unsigned int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, unsigned int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, unsigned int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, unsigned int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, unsigned int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, unsigned int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, unsigned int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, unsigned int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, unsigned int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, unsigned int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, unsigned int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, unsigned int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, unsigned int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, char *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, unsigned int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, unsigned int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, unsigned int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, unsigned int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, unsigned int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, unsigned int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, unsigned int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, unsigned int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, unsigned int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, unsigned int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, unsigned int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, unsigned int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, unsigned int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, unsigned int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | size_t, unsigned int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, unsigned int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, unsigned int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, unsigned int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, unsigned int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, unsigned int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, unsigned int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, unsigned int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, unsigned int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, unsigned int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, unsigned int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, unsigned int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, unsigned int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, unsigned int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, unsigned int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | int, unsigned int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, unsigned int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, unsigned int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, unsigned int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, unsigned int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, unsigned int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, unsigned int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, unsigned int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, unsigned int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, unsigned int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, unsigned int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, unsigned int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, unsigned int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, unsigned int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, unsigned int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, unsigned int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, unsigned int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, unsigned int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, unsigned int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, unsigned int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, unsigned int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(ssize_t, void *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, unsigned int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, unsigned int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, unsigned int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, unsigned int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, unsigned int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, unsigned int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, unsigned int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, unsigned int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, unsigned int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, unsigned int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, unsigned int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, unsigned int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, unsigned int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, unsigned int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | size_t, unsigned int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, unsigned int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, unsigned int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, unsigned int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, unsigned int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, unsigned int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, unsigned int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, unsigned int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, unsigned int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, unsigned int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, unsigned int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, unsigned int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, unsigned int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, unsigned int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, unsigned int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | int, unsigned int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, unsigned int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, unsigned int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, unsigned int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, unsigned int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, unsigned int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, unsigned int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, unsigned int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, unsigned int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, unsigned int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, unsigned int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, unsigned int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, unsigned int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, unsigned int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, unsigned int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, unsigned int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, unsigned int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, unsigned int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, unsigned int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, unsigned int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, unsigned int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, char *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, unsigned int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, unsigned int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, unsigned int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, unsigned int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, unsigned int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, unsigned int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, unsigned int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, unsigned int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, unsigned int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, unsigned int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, unsigned int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, unsigned int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, unsigned int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, unsigned int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | size_t, unsigned int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, unsigned int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, unsigned int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, unsigned int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, unsigned int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, unsigned int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, unsigned int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, unsigned int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, unsigned int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, unsigned int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, unsigned int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, unsigned int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, unsigned int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, unsigned int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, unsigned int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | int, unsigned int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, unsigned int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, unsigned int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, unsigned int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, unsigned int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, unsigned int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, unsigned int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, unsigned int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, unsigned int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, unsigned int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, unsigned int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, unsigned int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, unsigned int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, unsigned int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, unsigned int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, unsigned int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, unsigned int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, unsigned int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, unsigned int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, unsigned int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, unsigned int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:120:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:127:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern int RECVFROMCALLCONV
# | recvfrom(SOCKET, void *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | void * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | int res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | size_t, unsigned int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | size_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | int, unsigned int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | socklen_t, unsigned int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | struct sockaddr * addr=0;
# | void * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | void *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | socklen_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | void *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | void *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | unsigned int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | void *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | size_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | void *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | void * addr=0;
# | void * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, socklen_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | socklen_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, unsigned int *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | unsigned int * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# conftest.c:127:68: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, size_t *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | size_t * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:113:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /usr/include/sys/socket.h:174:16: note: previous declaration is here
# extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
# ^
# conftest.c:127:62: warning: passing 'const struct sockaddr *' to parameter of type 'struct sockaddr *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^~~~
# /usr/include/sys/socket.h:175:33: note: passing argument to parameter '__addr' here
# int __flags, __SOCKADDR_ARG __addr,
# ^
# 1 warning and 1 error generated.
# configure:19819: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define RECVFROMCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define RECVFROMCALLCONV
# | #endif
# | extern ssize_t RECVFROMCALLCONV
# | recvfrom(int, char *,
# | unsigned int, unsigned int,
# | const struct sockaddr *, void *);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | char * buf=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | const struct sockaddr * addr=0;
# | void * addrlen=0;
# | ssize_t res=0;
# | res = recvfrom(s, buf, len, flags, addr, addrlen);
# |
# | ;
# | return 0;
# | }
# |
# configure:19819: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19819: $? = 0
# configure:19835: result: int,void *,size_t,int,struct sockaddr *,socklen_t *,ssize_t
# configure:19973: checking for sys/types.h
# configure:19973: result: yes
# configure:19973: checking for sys/socket.h
# configure:19973: result: yes
# configure:19984: checking for send
# configure:20022: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20022: $? = 0
# configure:20024: result: yes
# configure:20039: checking types of args and return type for send
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, char *, size_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, char *, size_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | size_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, char *, size_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, char *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, char *, int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, char *, int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, char *, int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, char *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, char *, socklen_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, char *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, char *, socklen_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, char *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, char *, unsigned int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, char *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, char *, unsigned int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, char *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, void *, size_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, void *, size_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | size_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, void *, size_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, void *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, void *, int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, void *, int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, void *, int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, void *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, void *, socklen_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, void *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, void *, socklen_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, void *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, void *, unsigned int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, void *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, void *, unsigned int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, void *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, const char *, size_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const char *, size_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | size_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, const char *, size_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const char *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, const char *, int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const char *, int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, const char *, int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const char *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, const char *, socklen_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const char *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, const char *, socklen_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const char *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, const char *, unsigned int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const char *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, const char *, unsigned int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const char *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, const void *, size_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const void *, size_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | size_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, const void *, size_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const void *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, const void *, int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const void *, int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, const void *, int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const void *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, const void *, socklen_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const void *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, const void *, socklen_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const void *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, const void *, unsigned int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const void *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, const void *, unsigned int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(int, const void *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, char *, size_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, char *, size_t, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | size_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, char *, size_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, char *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, char *, int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, char *, int, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, char *, int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, char *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, char *, socklen_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, char *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, char *, socklen_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, char *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, char *, unsigned int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, char *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, char *, unsigned int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, char *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, void *, size_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, void *, size_t, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | size_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, void *, size_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, void *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, void *, int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, void *, int, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, void *, int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, void *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, void *, socklen_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, void *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, void *, socklen_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, void *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, void *, unsigned int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, void *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, void *, unsigned int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, void *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, const char *, size_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const char *, size_t, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | size_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, const char *, size_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const char *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, const char *, int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const char *, int, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, const char *, int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const char *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, const char *, socklen_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const char *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, const char *, socklen_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const char *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, const char *, unsigned int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const char *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, const char *, unsigned int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const char *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, const void *, size_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const void *, size_t, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | size_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, const void *, size_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const void *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, const void *, int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const void *, int, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, const void *, int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const void *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, const void *, socklen_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const void *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, const void *, socklen_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const void *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, const void *, unsigned int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const void *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(ssize_t, const void *, unsigned int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(ssize_t, const void *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | ssize_t s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, char *, size_t, int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, char *, size_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, char *, size_t, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | size_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, char *, size_t, unsigned int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, char *, size_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, char *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, char *, int, int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, char *, int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, char *, int, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, char *, int, unsigned int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, char *, int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, char *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, char *, socklen_t, int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, char *, socklen_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, char *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, char *, socklen_t, unsigned int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, char *, socklen_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, char *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, char *, unsigned int, int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, char *, unsigned int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, char *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, char *, unsigned int, unsigned int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, char *, unsigned int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, char *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, void *, size_t, int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, void *, size_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, void *, size_t, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | size_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, void *, size_t, unsigned int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, void *, size_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, void *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, void *, int, int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, void *, int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, void *, int, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, void *, int, unsigned int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, void *, int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, void *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, void *, socklen_t, int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, void *, socklen_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, void *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, void *, socklen_t, unsigned int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, void *, socklen_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, void *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, void *, unsigned int, int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, void *, unsigned int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, void *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, void *, unsigned int, unsigned int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, void *, unsigned int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, void *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, const char *, size_t, int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, const char *, size_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const char *, size_t, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | size_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, const char *, size_t, unsigned int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, const char *, size_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const char *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, const char *, int, int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, const char *, int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const char *, int, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, const char *, int, unsigned int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, const char *, int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const char *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, const char *, socklen_t, int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, const char *, socklen_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const char *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, const char *, socklen_t, unsigned int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, const char *, socklen_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const char *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, const char *, unsigned int, int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, const char *, unsigned int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const char *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, const char *, unsigned int, unsigned int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, const char *, unsigned int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const char *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, const void *, size_t, int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, const void *, size_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const void *, size_t, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | size_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, const void *, size_t, unsigned int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, const void *, size_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const void *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, const void *, int, int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, const void *, int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const void *, int, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, const void *, int, unsigned int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, const void *, int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const void *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, const void *, socklen_t, int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, const void *, socklen_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const void *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | socklen_t len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, const void *, socklen_t, unsigned int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, const void *, socklen_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const void *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, const void *, unsigned int, int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, const void *, unsigned int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const void *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | unsigned int len=0;
# | int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:36: error: expected identifier
# send(SOCKET, const void *, unsigned int, unsigned int);
# ^
# conftest.c:126:23: error: conflicting types for 'send'
# send(SOCKET, const void *, unsigned int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# conftest.c:131:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:134:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern int SENDCALLCONV
# | send(SOCKET, const void *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | SOCKET s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | int res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, char *, size_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, char *, size_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | size_t len=0;
# | int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, char *, size_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, char *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, char *, int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, char *, int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | int len=0;
# | int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, char *, int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, char *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | int len=0;
# | unsigned int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, char *, socklen_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, char *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | socklen_t len=0;
# | int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, char *, socklen_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, char *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, char *, unsigned int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, char *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | unsigned int len=0;
# | int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, char *, unsigned int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, char *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, void *, size_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, void *, size_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | size_t len=0;
# | int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, void *, size_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, void *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, void *, int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, void *, int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | int len=0;
# | int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, void *, int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, void *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | int len=0;
# | unsigned int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, void *, socklen_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, void *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | socklen_t len=0;
# | int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, void *, socklen_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, void *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, void *, unsigned int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, void *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | unsigned int len=0;
# | int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, void *, unsigned int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, void *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, const char *, size_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, const char *, size_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | size_t len=0;
# | int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, const char *, size_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, const char *, size_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | size_t len=0;
# | unsigned int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, const char *, int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, const char *, int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | int len=0;
# | int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, const char *, int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, const char *, int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | int len=0;
# | unsigned int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, const char *, socklen_t, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, const char *, socklen_t, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | socklen_t len=0;
# | int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, const char *, socklen_t, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, const char *, socklen_t, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | socklen_t len=0;
# | unsigned int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, const char *, unsigned int, int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, const char *, unsigned int, int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | unsigned int len=0;
# | int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:126:23: error: conflicting types for 'send'
# send(int, const char *, unsigned int, unsigned int);
# ^
# /usr/include/sys/socket.h:149:16: note: previous declaration is here
# extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
# ^
# 1 error generated.
# configure:20095: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define SENDCALLCONV PASCAL
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #define SENDCALLCONV
# | #endif
# | extern ssize_t SENDCALLCONV
# | send(int, const char *, unsigned int, unsigned int);
# |
# | int main (void)
# | {
# |
# | int s=0;
# | unsigned int len=0;
# | unsigned int flags=0;
# | ssize_t res = send(s, 0, len, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:20095: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20095: $? = 0
# configure:20109: result: int,const void *,size_t,int,ssize_t
# configure:20197: checking for sys/types.h
# configure:20197: result: yes
# configure:20197: checking for sys/socket.h
# configure:20197: result: yes
# configure:20207: checking for MSG_NOSIGNAL
# configure:20249: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20249: $? = 0
# configure:20261: result: yes
# configure:20287: checking for sys/types.h
# configure:20287: result: yes
# configure:20287: checking for socket.h
# configure:20287: result: no
# configure:20306: checking if closesocket can be linked
# configure:20326: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:140:15: warning: implicit declaration of function 'closesocket' is invalid in C99 [-Wimplicit-function-declaration]
# if(0 != closesocket(0))
# ^
# 1 warning generated.
# /tmp/conftest-e451f2.o: In function `main':
# conftest.c:(.text+0x6): undefined reference to `closesocket'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:20326: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | /* end confdefs.h. */
# |
# |
# | /* includes start */
# | #ifdef HAVE_WINDOWS_H
# | # ifndef WIN32_LEAN_AND_MEAN
# | # define WIN32_LEAN_AND_MEAN
# | # endif
# | # include
# | # ifdef HAVE_WINSOCK2_H
# | # include
# | # else
# | # ifdef HAVE_WINSOCK_H
# | # include
# | # endif
# | # endif
# | #endif
# | /* includes end */
# | /* includes start */
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SOCKET_H
# | # include
# | #endif
# | /* includes end */
# |
# | int main (void)
# | {
# |
# | if(0 != closesocket(0))
# | return 1;
# |
# | ;
# | return 0;
# | }
# |
# configure:20334: result: no
# configure:20421: checking if closesocket might be used
# configure:20436: result: no
# configure:20448: checking if CloseSocket can be linked
# configure:20467: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:15: warning: implicit declaration of function 'CloseSocket' is invalid in C99 [-Wimplicit-function-declaration]
# if(0 != CloseSocket(0))
# ^
# 1 warning generated.
# /tmp/conftest-cb5d11.o: In function `main':
# conftest.c:(.text+0x6): undefined reference to `CloseSocket'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:20467: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | /* end confdefs.h. */
# |
# |
# | /* includes start */
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | # include
# | #endif
# | /* includes end */
# |
# | int main (void)
# | {
# |
# | if(0 != CloseSocket(0))
# | return 1;
# |
# | ;
# | return 0;
# | }
# |
# configure:20475: result: no
# configure:20560: checking if CloseSocket might be used
# configure:20575: result: no
# configure:20587: checking if connect can be linked
# configure:20608: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20608: $? = 0
# configure:20610: result: yes
# configure:20625: checking if connect is prototyped
# configure:20638: result: yes
# configure:20654: checking if connect is compilable
# configure:20675: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20675: $? = 0
# configure:20677: result: yes
# configure:20692: checking if connect usage allowed
# configure:20695: result: yes
# configure:20705: checking if connect might be used
# configure:20711: result: yes
# configure:20741: checking for sys/types.h
# configure:20741: result: yes
# configure:20741: checking for unistd.h
# configure:20741: result: yes
# configure:20741: checking for fcntl.h
# configure:20741: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20741: $? = 0
# configure:20741: result: yes
# configure:20760: checking if fcntl can be linked
# configure:20789: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20789: $? = 0
# configure:20791: result: yes
# configure:20806: checking if fcntl is prototyped
# configure:20817: result: yes
# configure:20833: checking if fcntl is compilable
# configure:20852: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20852: $? = 0
# configure:20854: result: yes
# configure:20869: checking if fcntl usage allowed
# configure:20872: result: yes
# configure:20882: checking if fcntl might be used
# configure:20888: result: yes
# configure:20908: checking if fcntl O_NONBLOCK is compilable
# configure:20928: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20928: $? = 0
# configure:20930: result: yes
# configure:20945: checking if fcntl O_NONBLOCK usage allowed
# configure:20948: result: yes
# configure:20958: checking if fcntl O_NONBLOCK might be used
# configure:20962: result: yes
# configure:20995: checking for sys/types.h
# configure:20995: result: yes
# configure:20995: checking for netdb.h
# configure:20995: result: yes
# configure:21014: checking if freeaddrinfo can be linked
# configure:21034: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:21034: $? = 0
# configure:21036: result: yes
# configure:21051: checking if freeaddrinfo is prototyped
# configure:21064: result: yes
# configure:21080: checking if freeaddrinfo is compilable
# configure:21100: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:21100: $? = 0
# configure:21102: result: yes
# configure:21117: checking if freeaddrinfo usage allowed
# configure:21120: result: yes
# configure:21130: checking if freeaddrinfo might be used
# configure:21136: result: yes
# configure:21163: checking for sys/types.h
# configure:21163: result: yes
# configure:21163: checking for stdlib.h
# configure:21163: result: yes
# configure:21191: checking for sys/types.h
# configure:21191: result: yes
# configure:21191: checking for string.h
# configure:21191: result: yes
# configure:21191: checking for strings.h
# configure:21191: result: yes
# configure:21212: checking if getaddrinfo can be linked
# configure:21233: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:21233: $? = 0
# configure:21235: result: yes
# configure:21250: checking if getaddrinfo is prototyped
# configure:21263: result: yes
# configure:21279: checking if getaddrinfo is compilable
# configure:21300: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:21300: $? = 0
# configure:21302: result: yes
# configure:21318: checking if getaddrinfo seems to work
# configure:21358: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:21358: $? = 0
# configure:21358: ./conftest
# configure:21358: $? = 0
# configure:21360: result: yes
# configure:21379: checking if getaddrinfo usage allowed
# configure:21382: result: yes
# configure:21392: checking if getaddrinfo might be used
# configure:21399: result: yes
# configure:21415: checking if getaddrinfo is threadsafe
# configure:21480: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:21480: $? = 0
# configure:21522: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:21522: $? = 0
# configure:21553: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:137:11: error: use of undeclared identifier 'force'
# force compilation error
# ^
# 1 error generated.
# configure:21553: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | /* end confdefs.h. */
# |
# |
# |
# | int main (void)
# | {
# |
# | #if defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE >= 200809L)
# | return 0;
# | #elif defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 700)
# | return 0;
# | #else
# | force compilation error
# | #endif
# |
# | ;
# | return 0;
# | }
# |
# configure:21571: result: yes
# configure:21592: checking if getenv can be linked
# configure:21621: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:21621: $? = 0
# configure:21623: result: yes
# configure:21638: checking if getenv is prototyped
# configure:21649: result: yes
# configure:21665: checking if getenv is compilable
# configure:21684: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:141:25: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
# if(0 != getenv(0))
# ~^
# 1 warning generated.
# configure:21684: $? = 0
# configure:21686: result: yes
# configure:21701: checking if getenv usage allowed
# configure:21704: result: yes
# configure:21714: checking if getenv might be used
# configure:21720: result: yes
# configure:21741: checking if gethostbyaddr can be linked
# configure:21761: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:21761: $? = 0
# configure:21763: result: yes
# configure:21778: checking if gethostbyaddr is prototyped
# configure:21790: result: yes
# configure:21806: checking if gethostbyaddr is compilable
# configure:21826: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:21826: $? = 0
# configure:21828: result: yes
# configure:21843: checking if gethostbyaddr usage allowed
# configure:21846: result: yes
# configure:21856: checking if gethostbyaddr might be used
# configure:21862: result: yes
# configure:21883: checking if gethostbyname can be linked
# configure:21903: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:21903: $? = 0
# configure:21905: result: yes
# configure:21920: checking if gethostbyname is prototyped
# configure:21932: result: yes
# configure:21948: checking if gethostbyname is compilable
# configure:21968: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:21968: $? = 0
# configure:21970: result: yes
# configure:21985: checking if gethostbyname usage allowed
# configure:21988: result: yes
# configure:21998: checking if gethostbyname might be used
# configure:22004: result: yes
# configure:22031: checking for sys/types.h
# configure:22031: result: yes
# configure:22031: checking for unistd.h
# configure:22031: result: yes
# configure:22050: checking if gethostname can be linked
# configure:22070: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:161:31: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
# if(0 != gethostname(0, 0))
# ~ ^
# 1 warning generated.
# configure:22070: $? = 0
# configure:22072: result: yes
# configure:22087: checking if gethostname is prototyped
# configure:22099: result: yes
# configure:22115: checking if gethostname is compilable
# configure:22135: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:161:33: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
# if(0 != gethostname(0, 0))
# ~ ^
# 1 warning generated.
# configure:22135: $? = 0
# configure:22137: result: yes
# configure:22152: checking for gethostname arg 2 data type
# configure:22178: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:164:38: error: conflicting types for 'gethostname'
# extern int FUNCALLCONV gethostname(char *, int);
# ^
# /usr/include/unistd.h:882:12: note: previous declaration is here
# extern int gethostname (char *__name, size_t __len) __THROW __nonnull ((1));
# ^
# conftest.c:169:39: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
# if(0 != gethostname(0, 0))
# ~ ^
# 1 warning and 1 error generated.
# configure:22178: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | /* end confdefs.h. */
# |
# |
# | /* includes start */
# | #ifdef HAVE_WINDOWS_H
# | # ifndef WIN32_LEAN_AND_MEAN
# | # define WIN32_LEAN_AND_MEAN
# | # endif
# | # include
# | # ifdef HAVE_WINSOCK2_H
# | # include
# | # else
# | # ifdef HAVE_WINSOCK_H
# | # include
# | # endif
# | # endif
# | #endif
# | /* includes end */
# | /* includes start */
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | /* includes end */
# | /* preprocess start */
# | #ifdef HAVE_WINDOWS_H
# | # define FUNCALLCONV __stdcall
# | #else
# | # define FUNCALLCONV
# | #endif
# | /* preprocess end */
# | extern int FUNCALLCONV gethostname(char *, int);
# |
# | int main (void)
# | {
# |
# | if(0 != gethostname(0, 0))
# | return 1;
# |
# | ;
# | return 0;
# | }
# |
# configure:22178: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:164:38: error: conflicting types for 'gethostname'
# extern int FUNCALLCONV gethostname(char *, unsigned int);
# ^
# /usr/include/unistd.h:882:12: note: previous declaration is here
# extern int gethostname (char *__name, size_t __len) __THROW __nonnull ((1));
# ^
# conftest.c:169:39: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
# if(0 != gethostname(0, 0))
# ~ ^
# 1 warning and 1 error generated.
# configure:22178: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | /* end confdefs.h. */
# |
# |
# | /* includes start */
# | #ifdef HAVE_WINDOWS_H
# | # ifndef WIN32_LEAN_AND_MEAN
# | # define WIN32_LEAN_AND_MEAN
# | # endif
# | # include
# | # ifdef HAVE_WINSOCK2_H
# | # include
# | # else
# | # ifdef HAVE_WINSOCK_H
# | # include
# | # endif
# | # endif
# | #endif
# | /* includes end */
# | /* includes start */
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | /* includes end */
# | /* preprocess start */
# | #ifdef HAVE_WINDOWS_H
# | # define FUNCALLCONV __stdcall
# | #else
# | # define FUNCALLCONV
# | #endif
# | /* preprocess end */
# | extern int FUNCALLCONV gethostname(char *, unsigned int);
# |
# | int main (void)
# | {
# |
# | if(0 != gethostname(0, 0))
# | return 1;
# |
# | ;
# | return 0;
# | }
# |
# configure:22178: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:169:39: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
# if(0 != gethostname(0, 0))
# ~ ^
# 1 warning generated.
# configure:22178: $? = 0
# configure:22187: result: size_t
# configure:22199: checking if gethostname usage allowed
# configure:22202: result: yes
# configure:22212: checking if gethostname might be used
# configure:22218: result: yes
# configure:22240: checking if getservbyport_r can be linked
# configure:22269: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:22269: $? = 0
# configure:22271: result: yes
# configure:22286: checking if getservbyport_r is prototyped
# configure:22297: result: yes
# configure:22314: checking if getservbyport_r takes 4 args.
# configure:22333: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:148:45: error: too few arguments to function call, expected 6, have 4
# if(0 != getservbyport_r(0, 0, 0, 0))
# ~~~~~~~~~~~~~~~ ^
# /usr/include/netdb.h:318:1: note: 'getservbyport_r' declared here
# extern int getservbyport_r (int __port, const char *__restrict __proto,
# ^
# 1 error generated.
# configure:22333: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | /* end confdefs.h. */
# |
# |
# | /* includes start */
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_NETDB_H
# | # include
# | #endif
# | /* includes end */
# |
# | int main (void)
# | {
# |
# | if(0 != getservbyport_r(0, 0, 0, 0))
# | return 1;
# |
# | ;
# | return 0;
# | }
# |
# configure:22342: result: no
# configure:22350: checking if getservbyport_r takes 5 args.
# configure:22369: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:148:48: error: too few arguments to function call, expected 6, have 5
# if(0 != getservbyport_r(0, 0, 0, 0, 0))
# ~~~~~~~~~~~~~~~ ^
# /usr/include/netdb.h:318:1: note: 'getservbyport_r' declared here
# extern int getservbyport_r (int __port, const char *__restrict __proto,
# ^
# 1 error generated.
# configure:22369: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | /* end confdefs.h. */
# |
# |
# | /* includes start */
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_NETDB_H
# | # include
# | #endif
# | /* includes end */
# |
# | int main (void)
# | {
# |
# | if(0 != getservbyport_r(0, 0, 0, 0, 0))
# | return 1;
# |
# | ;
# | return 0;
# | }
# |
# configure:22378: result: no
# configure:22386: checking if getservbyport_r takes 6 args.
# configure:22405: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:22405: $? = 0
# configure:22407: result: yes
# configure:22421: checking if getservbyport_r is compilable
# configure:22424: result: yes
# configure:22433: checking if getservbyport_r usage allowed
# configure:22436: result: yes
# configure:22446: checking if getservbyport_r might be used
# configure:22452: result: yes
# configure:22499: checking for sys/types.h
# configure:22499: result: yes
# configure:22499: checking for sys/socket.h
# configure:22499: result: yes
# configure:22499: checking for netinet/in.h
# configure:22499: result: yes
# configure:22499: checking for arpa/inet.h
# configure:22499: result: yes
# configure:22519: checking if inet_net_pton can be linked
# configure:22548: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# /tmp/conftest-de2b13.o: In function `main':
# conftest.c:(.text+0x4): undefined reference to `inet_net_pton'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:22548: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | /* end confdefs.h. */
# |
# |
# | #define inet_net_pton innocuous_inet_net_pton
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# | #undef inet_net_pton
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char inet_net_pton ();
# | #if defined __stub_inet_net_pton || defined __stub___inet_net_pton
# | choke me
# | #endif
# |
# | int main (void)
# | {
# | return inet_net_pton ();
# | ;
# | return 0;
# | }
# |
# configure:22556: result: no
# configure:22804: checking if inet_net_pton might be used
# configure:22820: result: no
# configure:22833: checking if inet_ntop can be linked
# configure:22862: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:22862: $? = 0
# configure:22864: result: yes
# configure:22879: checking if inet_ntop is prototyped
# configure:22890: result: yes
# configure:22906: checking if inet_ntop is compilable
# configure:22925: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:22925: $? = 0
# configure:22927: result: yes
# configure:22943: checking if inet_ntop seems to work
# configure:23017: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:194:17: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# ipv4ptr = inet_ntop(AF_INET, ipv4a, ipv4res, sizeof(ipv4res));
# ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# conftest.c:218:17: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
# ipv6ptr = inet_ntop(AF_INET6, ipv6a, ipv6res, sizeof(ipv6res));
# ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 2 warnings generated.
# configure:23017: $? = 0
# configure:23017: ./conftest
# configure:23017: $? = 0
# configure:23019: result: yes
# configure:23038: checking if inet_ntop usage allowed
# configure:23041: result: yes
# configure:23051: checking if inet_ntop might be used
# configure:23058: result: yes
# configure:23080: checking if inet_pton can be linked
# configure:23109: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:23109: $? = 0
# configure:23111: result: yes
# configure:23126: checking if inet_pton is prototyped
# configure:23137: result: yes
# configure:23153: checking if inet_pton is compilable
# configure:23172: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:23172: $? = 0
# configure:23174: result: yes
# configure:23190: checking if inet_pton seems to work
# configure:23257: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:23257: $? = 0
# configure:23257: ./conftest
# configure:23257: $? = 0
# configure:23259: result: yes
# configure:23278: checking if inet_pton usage allowed
# configure:23281: result: yes
# configure:23291: checking if inet_pton might be used
# configure:23298: result: yes
# configure:23334: checking for sys/types.h
# configure:23334: result: yes
# configure:23334: checking for unistd.h
# configure:23334: result: yes
# configure:23334: checking for sys/socket.h
# configure:23334: result: yes
# configure:23334: checking for sys/ioctl.h
# configure:23334: result: yes
# configure:23334: checking for stropts.h
# configure:23334: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:23334: $? = 0
# configure:23334: result: yes
# configure:23353: checking if ioctl can be linked
# configure:23382: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:23382: $? = 0
# configure:23384: result: yes
# configure:23399: checking if ioctl is prototyped
# configure:23410: result: yes
# configure:23426: checking if ioctl is compilable
# configure:23445: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:23445: $? = 0
# configure:23447: result: yes
# configure:23462: checking if ioctl usage allowed
# configure:23465: result: yes
# configure:23475: checking if ioctl might be used
# configure:23481: result: yes
# configure:23495: checking if ioctl FIONBIO is compilable
# configure:23515: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:23515: $? = 0
# configure:23517: result: yes
# configure:23532: checking if ioctl FIONBIO usage allowed
# configure:23535: result: yes
# configure:23545: checking if ioctl FIONBIO might be used
# configure:23549: result: yes
# configure:23569: checking if ioctl SIOCGIFADDR is compilable
# configure:23590: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:23590: $? = 0
# configure:23592: result: yes
# configure:23607: checking if ioctl SIOCGIFADDR usage allowed
# configure:23610: result: yes
# configure:23620: checking if ioctl SIOCGIFADDR might be used
# configure:23624: result: yes
# configure:23651: checking if ioctlsocket can be linked
# configure:23670: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:172:15: warning: implicit declaration of function 'ioctlsocket' is invalid in C99 [-Wimplicit-function-declaration]
# if(0 != ioctlsocket(0, 0, 0))
# ^
# 1 warning generated.
# /tmp/conftest-425f8b.o: In function `main':
# conftest.c:(.text+0xa): undefined reference to `ioctlsocket'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:23670: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | /* end confdefs.h. */
# |
# |
# | /* includes start */
# | #ifdef HAVE_WINDOWS_H
# | # ifndef WIN32_LEAN_AND_MEAN
# | # define WIN32_LEAN_AND_MEAN
# | # endif
# | # include
# | # ifdef HAVE_WINSOCK2_H
# | # include
# | # else
# | # ifdef HAVE_WINSOCK_H
# | # include
# | # endif
# | # endif
# | #endif
# | /* includes end */
# |
# | int main (void)
# | {
# |
# | if(0 != ioctlsocket(0, 0, 0))
# | return 1;
# |
# | ;
# | return 0;
# | }
# |
# configure:23678: result: no
# configure:23763: checking if ioctlsocket might be used
# configure:23852: result: no
# configure:23864: checking if IoctlSocket can be linked
# configure:23893: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# /tmp/conftest-e6b8e6.o: In function `main':
# conftest.c:(.text+0x4): undefined reference to `IoctlSocket'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:23893: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | /* end confdefs.h. */
# |
# |
# | #define IoctlSocket innocuous_IoctlSocket
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# | #undef IoctlSocket
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char IoctlSocket ();
# | #if defined __stub_IoctlSocket || defined __stub___IoctlSocket
# | choke me
# | #endif
# |
# | int main (void)
# | {
# | return IoctlSocket ();
# | ;
# | return 0;
# | }
# |
# configure:23901: result: no
# configure:23986: checking if IoctlSocket might be used
# configure:24075: result: no
# configure:24087: checking if setsockopt can be linked
# configure:24107: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:24107: $? = 0
# configure:24109: result: yes
# configure:24124: checking if setsockopt is prototyped
# configure:24136: result: yes
# configure:24152: checking if setsockopt is compilable
# configure:24172: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:24172: $? = 0
# configure:24174: result: yes
# configure:24189: checking if setsockopt usage allowed
# configure:24192: result: yes
# configure:24202: checking if setsockopt might be used
# configure:24208: result: yes
# configure:24222: checking if setsockopt SO_NONBLOCK is compilable
# configure:24242: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:181:43: error: use of undeclared identifier 'SO_NONBLOCK'; did you mean 'SOCK_NONBLOCK'?
# if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0))
# ^~~~~~~~~~~
# SOCK_NONBLOCK
# /usr/include/bits/socket_type.h:52:3: note: 'SOCK_NONBLOCK' declared here
# SOCK_NONBLOCK = 00004000 /* Atomically mark descriptor(s) as
# ^
# 1 error generated.
# configure:24242: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | /* end confdefs.h. */
# |
# |
# | /* includes start */
# | #ifdef HAVE_WINDOWS_H
# | # ifndef WIN32_LEAN_AND_MEAN
# | # define WIN32_LEAN_AND_MEAN
# | # endif
# | # include
# | # ifdef HAVE_WINSOCK2_H
# | # include
# | # else
# | # ifdef HAVE_WINSOCK_H
# | # include
# | # endif
# | # endif
# | #endif
# | /* includes end */
# | /* includes start */
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | # include
# | #endif
# | /* includes end */
# |
# | int main (void)
# | {
# |
# | if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0))
# | return 1;
# |
# | ;
# | return 0;
# | }
# |
# configure:24250: result: no
# configure:24272: checking if setsockopt SO_NONBLOCK might be used
# configure:24285: result: no
# configure:24303: checking if socket can be linked
# configure:24324: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:24324: $? = 0
# configure:24326: result: yes
# configure:24341: checking if socket is prototyped
# configure:24354: result: yes
# configure:24370: checking if socket is compilable
# configure:24391: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:24391: $? = 0
# configure:24393: result: yes
# configure:24408: checking if socket usage allowed
# configure:24411: result: yes
# configure:24421: checking if socket might be used
# configure:24427: result: yes
# configure:24448: checking if strcasecmp can be linked
# configure:24477: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:165:6: warning: incompatible redeclaration of library function 'strcasecmp' [-Wincompatible-library-redeclaration]
# char strcasecmp ();
# ^
# conftest.c:165:6: note: 'strcasecmp' is a builtin with type 'int (const char *, const char *)'
# 1 warning generated.
# configure:24477: $? = 0
# configure:24479: result: yes
# configure:24494: checking if strcasecmp is prototyped
# configure:24505: result: yes
# configure:24521: checking if strcasecmp is compilable
# configure:24540: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:170:32: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
# if(0 != strcasecmp(0, 0))
# ~ ^
# conftest.c:170:32: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
# if(0 != strcasecmp(0, 0))
# ~^
# 2 warnings generated.
# configure:24540: $? = 0
# configure:24542: result: yes
# configure:24557: checking if strcasecmp usage allowed
# configure:24560: result: yes
# configure:24570: checking if strcasecmp might be used
# configure:24576: result: yes
# configure:24597: checking if strcmpi can be linked
# configure:24626: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# /tmp/conftest-5b8160.o: In function `main':
# conftest.c:(.text+0x4): undefined reference to `strcmpi'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:24626: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | /* end confdefs.h. */
# |
# |
# | #define strcmpi innocuous_strcmpi
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# | #undef strcmpi
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char strcmpi ();
# | #if defined __stub_strcmpi || defined __stub___strcmpi
# | choke me
# | #endif
# |
# | int main (void)
# | {
# | return strcmpi ();
# | ;
# | return 0;
# | }
# |
# configure:24634: result: no
# configure:24719: checking if strcmpi might be used
# configure:24734: result: no
# configure:24746: checking if strdup can be linked
# configure:24775: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:166:6: warning: incompatible redeclaration of library function 'strdup' [-Wincompatible-library-redeclaration]
# char strdup ();
# ^
# conftest.c:166:6: note: 'strdup' is a builtin with type 'char *(const char *)'
# 1 warning generated.
# configure:24775: $? = 0
# configure:24777: result: yes
# configure:24792: checking if strdup is prototyped
# configure:24803: result: yes
# configure:24819: checking if strdup is compilable
# configure:24838: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:171:25: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
# if(0 != strdup(0))
# ~^
# 1 warning generated.
# configure:24838: $? = 0
# configure:24840: result: yes
# configure:24855: checking if strdup usage allowed
# configure:24858: result: yes
# configure:24868: checking if strdup might be used
# configure:24874: result: yes
# configure:24895: checking if stricmp can be linked
# configure:24924: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# /tmp/conftest-25d7b0.o: In function `main':
# conftest.c:(.text+0x4): undefined reference to `stricmp'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:24924: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | /* end confdefs.h. */
# |
# |
# | #define stricmp innocuous_stricmp
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# | #undef stricmp
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char stricmp ();
# | #if defined __stub_stricmp || defined __stub___stricmp
# | choke me
# | #endif
# |
# | int main (void)
# | {
# | return stricmp ();
# | ;
# | return 0;
# | }
# |
# configure:24932: result: no
# configure:25017: checking if stricmp might be used
# configure:25032: result: no
# configure:25044: checking if strncasecmp can be linked
# configure:25073: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:167:6: warning: incompatible redeclaration of library function 'strncasecmp' [-Wincompatible-library-redeclaration]
# char strncasecmp ();
# ^
# conftest.c:167:6: note: 'strncasecmp' is a builtin with type 'int (const char *, const char *, unsigned long)'
# 1 warning generated.
# configure:25073: $? = 0
# configure:25075: result: yes
# configure:25090: checking if strncasecmp is prototyped
# configure:25101: result: yes
# configure:25117: checking if strncasecmp is compilable
# configure:25136: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:172:36: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
# if(0 != strncasecmp(0, 0, 0))
# ~ ^
# conftest.c:172:36: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
# if(0 != strncasecmp(0, 0, 0))
# ~ ^
# 2 warnings generated.
# configure:25136: $? = 0
# configure:25138: result: yes
# configure:25153: checking if strncasecmp usage allowed
# configure:25156: result: yes
# configure:25166: checking if strncasecmp might be used
# configure:25172: result: yes
# configure:25193: checking if strncmpi can be linked
# configure:25222: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# /tmp/conftest-6cbbcd.o: In function `main':
# conftest.c:(.text+0x4): undefined reference to `strncmpi'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:25222: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | /* end confdefs.h. */
# |
# |
# | #define strncmpi innocuous_strncmpi
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# | #undef strncmpi
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char strncmpi ();
# | #if defined __stub_strncmpi || defined __stub___strncmpi
# | choke me
# | #endif
# |
# | int main (void)
# | {
# | return strncmpi ();
# | ;
# | return 0;
# | }
# |
# configure:25230: result: no
# configure:25315: checking if strncmpi might be used
# configure:25330: result: no
# configure:25342: checking if strnicmp can be linked
# configure:25371: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# /tmp/conftest-9fc964.o: In function `main':
# conftest.c:(.text+0x4): undefined reference to `strnicmp'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:25371: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | /* end confdefs.h. */
# |
# |
# | #define strnicmp innocuous_strnicmp
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# | #undef strnicmp
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char strnicmp ();
# | #if defined __stub_strnicmp || defined __stub___strnicmp
# | choke me
# | #endif
# |
# | int main (void)
# | {
# | return strnicmp ();
# | ;
# | return 0;
# | }
# |
# configure:25379: result: no
# configure:25464: checking if strnicmp might be used
# configure:25479: result: no
# configure:25497: checking for sys/types.h
# configure:25497: result: yes
# configure:25497: checking for sys/uio.h
# configure:25497: result: yes
# configure:25516: checking if writev can be linked
# configure:25545: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:25545: $? = 0
# configure:25547: result: yes
# configure:25562: checking if writev is prototyped
# configure:25573: result: yes
# configure:25589: checking if writev is compilable
# configure:25608: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:25608: $? = 0
# configure:25610: result: yes
# configure:25625: checking if writev usage allowed
# configure:25628: result: yes
# configure:25638: checking if writev might be used
# configure:25644: result: yes
# configure:25661: checking for PF_INET6
# configure:25703: result: yes
# configure:25719: checking for AF_INET6
# configure:25761: result: yes
# configure:25778: checking for struct in6_addr
# configure:25813: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:25813: $? = 0
# configure:25820: result: yes
# configure:25836: checking for struct sockaddr_in6
# configure:25871: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:25871: $? = 0
# configure:25878: result: yes
# configure:25893: checking for struct sockaddr_in6.sin6_scope_id
# configure:25893: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:25893: $? = 0
# configure:25893: result: yes
# configure:25926: checking for struct addrinfo.ai_flags
# configure:25926: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:25926: $? = 0
# configure:25926: result: yes
# configure:25972: checking for bitncmp
# configure:25972: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# /tmp/conftest-de711f.o: In function `main':
# conftest.c:(.text+0x4): undefined reference to `bitncmp'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:25972: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | /* end confdefs.h. */
# |
# | #define bitncmp innocuous_bitncmp
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# | #undef bitncmp
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char bitncmp ();
# | #if defined __stub_bitncmp || defined __stub___bitncmp
# | choke me
# | #endif
# |
# | int main (void)
# | {
# | return bitncmp ();
# | ;
# | return 0;
# | }
# configure:25972: result: no
# configure:25982: checking deeper for bitncmp
# configure:25999: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:171:7: warning: implicit declaration of function 'bitncmp' is invalid in C99 [-Wimplicit-function-declaration]
# bitncmp ();
# ^
# 1 warning generated.
# /tmp/conftest-42a163.o: In function `main':
# conftest.c:(.text+0x4): undefined reference to `bitncmp'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:25999: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | /* end confdefs.h. */
# |
# |
# |
# | int main (void)
# | {
# |
# | bitncmp ();
# |
# | ;
# | return 0;
# | }
# |
# configure:26012: result: but still no
# configure:25972: checking for gettimeofday
# configure:25972: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:25972: $? = 0
# configure:25972: result: yes
# configure:25972: checking for if_indextoname
# configure:25972: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:25972: $? = 0
# configure:25972: result: yes
# configure:26028: checking size of struct in6_addr
# configure:26033: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:26033: $? = 0
# configure:26033: ./conftest
# configure:26033: $? = 0
# configure:26073: result: 16
# configure:26088: checking size of struct in_addr
# configure:26093: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:26093: $? = 0
# configure:26093: ./conftest
# configure:26093: $? = 0
# configure:26133: result: 4
# configure:26149: checking for sys/types.h
# configure:26149: result: yes
# configure:26149: checking for sys/socket.h
# configure:26149: result: yes
# configure:26149: checking for netdb.h
# configure:26149: result: yes
# configure:26160: checking for getnameinfo
# configure:26189: clang -o conftest -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:26189: $? = 0
# configure:26191: result: yes
# configure:26299: checking types of arguments for getnameinfo
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^
# /usr/include/netdb.h:677:12: note: previous declaration is here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^
# 1 error generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# | char *, size_t,
# | char *, size_t,
# | int);
# |
# | int main (void)
# | {
# |
# | socklen_t salen=0;
# | size_t hostlen=0;
# | size_t servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^
# /usr/include/netdb.h:677:12: note: previous declaration is here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^
# 1 error generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# | char *, size_t,
# | char *, size_t,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | socklen_t salen=0;
# | size_t hostlen=0;
# | size_t servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^
# /usr/include/netdb.h:677:12: note: previous declaration is here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^
# 1 error generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# | char *, int,
# | char *, int,
# | int);
# |
# | int main (void)
# | {
# |
# | socklen_t salen=0;
# | int hostlen=0;
# | int servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^
# /usr/include/netdb.h:677:12: note: previous declaration is here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^
# 1 error generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# | char *, int,
# | char *, int,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | socklen_t salen=0;
# | int hostlen=0;
# | int servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^
# /usr/include/netdb.h:677:12: note: previous declaration is here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^
# 1 error generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# | char *, socklen_t,
# | char *, socklen_t,
# | int);
# |
# | int main (void)
# | {
# |
# | socklen_t salen=0;
# | socklen_t hostlen=0;
# | socklen_t servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^
# /usr/include/netdb.h:677:12: note: previous declaration is here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^
# 1 error generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# | char *, socklen_t,
# | char *, socklen_t,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | socklen_t salen=0;
# | socklen_t hostlen=0;
# | socklen_t servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^
# /usr/include/netdb.h:677:12: note: previous declaration is here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^
# 1 error generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# | char *, unsigned int,
# | char *, unsigned int,
# | int);
# |
# | int main (void)
# | {
# |
# | socklen_t salen=0;
# | unsigned int hostlen=0;
# | unsigned int servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^
# /usr/include/netdb.h:677:12: note: previous declaration is here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^
# 1 error generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# | char *, unsigned int,
# | char *, unsigned int,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | socklen_t salen=0;
# | unsigned int hostlen=0;
# | unsigned int servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:204:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:205:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:205:52: error: redefinition of parameter 'DWORD'
# conftest.c:204:52: note: previous declaration is here
# char *, DWORD,
# ^
# conftest.c:212:21: error: use of undeclared identifier 'DWORD'
# DWORD hostlen=0;
# ^
# conftest.c:213:21: error: use of undeclared identifier 'DWORD'
# DWORD servlen=0;
# ^
# conftest.c:215:56: error: use of undeclared identifier 'hostlen'
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^
# conftest.c:215:68: error: use of undeclared identifier 'servlen'; did you mean 'salen'?
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^~~~~~~
# salen
# conftest.c:211:31: note: 'salen' declared here
# socklen_t salen=0;
# ^
# 2 warnings and 5 errors generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# | char *, DWORD,
# | char *, DWORD,
# | int);
# |
# | int main (void)
# | {
# |
# | socklen_t salen=0;
# | DWORD hostlen=0;
# | DWORD servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:204:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:205:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:205:52: error: redefinition of parameter 'DWORD'
# conftest.c:204:52: note: previous declaration is here
# char *, DWORD,
# ^
# conftest.c:212:21: error: use of undeclared identifier 'DWORD'
# DWORD hostlen=0;
# ^
# conftest.c:213:21: error: use of undeclared identifier 'DWORD'
# DWORD servlen=0;
# ^
# conftest.c:215:56: error: use of undeclared identifier 'hostlen'
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^
# conftest.c:215:68: error: use of undeclared identifier 'servlen'; did you mean 'salen'?
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^~~~~~~
# salen
# conftest.c:211:31: note: 'salen' declared here
# socklen_t salen=0;
# ^
# 2 warnings and 5 errors generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# | char *, DWORD,
# | char *, DWORD,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | socklen_t salen=0;
# | DWORD hostlen=0;
# | DWORD servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^
# /usr/include/netdb.h:677:12: note: previous declaration is here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^
# 1 error generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# | char *, size_t,
# | char *, size_t,
# | int);
# |
# | int main (void)
# | {
# |
# | size_t salen=0;
# | size_t hostlen=0;
# | size_t servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^
# /usr/include/netdb.h:677:12: note: previous declaration is here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^
# 1 error generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# | char *, size_t,
# | char *, size_t,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | size_t salen=0;
# | size_t hostlen=0;
# | size_t servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^
# /usr/include/netdb.h:677:12: note: previous declaration is here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^
# 1 error generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# | char *, int,
# | char *, int,
# | int);
# |
# | int main (void)
# | {
# |
# | size_t salen=0;
# | int hostlen=0;
# | int servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^
# /usr/include/netdb.h:677:12: note: previous declaration is here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^
# 1 error generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# | char *, int,
# | char *, int,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | size_t salen=0;
# | int hostlen=0;
# | int servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^
# /usr/include/netdb.h:677:12: note: previous declaration is here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^
# 1 error generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# | char *, socklen_t,
# | char *, socklen_t,
# | int);
# |
# | int main (void)
# | {
# |
# | size_t salen=0;
# | socklen_t hostlen=0;
# | socklen_t servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^
# /usr/include/netdb.h:677:12: note: previous declaration is here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^
# 1 error generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# | char *, socklen_t,
# | char *, socklen_t,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | size_t salen=0;
# | socklen_t hostlen=0;
# | socklen_t servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^
# /usr/include/netdb.h:677:12: note: previous declaration is here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^
# 1 error generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# | char *, unsigned int,
# | char *, unsigned int,
# | int);
# |
# | int main (void)
# | {
# |
# | size_t salen=0;
# | unsigned int hostlen=0;
# | unsigned int servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^
# /usr/include/netdb.h:677:12: note: previous declaration is here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^
# 1 error generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# | char *, unsigned int,
# | char *, unsigned int,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | size_t salen=0;
# | unsigned int hostlen=0;
# | unsigned int servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:204:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:205:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:205:52: error: redefinition of parameter 'DWORD'
# conftest.c:204:52: note: previous declaration is here
# char *, DWORD,
# ^
# conftest.c:212:21: error: use of undeclared identifier 'DWORD'
# DWORD hostlen=0;
# ^
# conftest.c:213:21: error: use of undeclared identifier 'DWORD'
# DWORD servlen=0;
# ^
# conftest.c:215:56: error: use of undeclared identifier 'hostlen'
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^
# conftest.c:215:68: error: use of undeclared identifier 'servlen'; did you mean 'salen'?
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^~~~~~~
# salen
# conftest.c:211:28: note: 'salen' declared here
# size_t salen=0;
# ^
# 2 warnings and 5 errors generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# | char *, DWORD,
# | char *, DWORD,
# | int);
# |
# | int main (void)
# | {
# |
# | size_t salen=0;
# | DWORD hostlen=0;
# | DWORD servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:204:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:205:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:205:52: error: redefinition of parameter 'DWORD'
# conftest.c:204:52: note: previous declaration is here
# char *, DWORD,
# ^
# conftest.c:212:21: error: use of undeclared identifier 'DWORD'
# DWORD hostlen=0;
# ^
# conftest.c:213:21: error: use of undeclared identifier 'DWORD'
# DWORD servlen=0;
# ^
# conftest.c:215:56: error: use of undeclared identifier 'hostlen'
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^
# conftest.c:215:68: error: use of undeclared identifier 'servlen'; did you mean 'salen'?
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^~~~~~~
# salen
# conftest.c:211:28: note: 'salen' declared here
# size_t salen=0;
# ^
# 2 warnings and 5 errors generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# | char *, DWORD,
# | char *, DWORD,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | size_t salen=0;
# | DWORD hostlen=0;
# | DWORD servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^
# /usr/include/netdb.h:677:12: note: previous declaration is here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^
# 1 error generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# | char *, size_t,
# | char *, size_t,
# | int);
# |
# | int main (void)
# | {
# |
# | int salen=0;
# | size_t hostlen=0;
# | size_t servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^
# /usr/include/netdb.h:677:12: note: previous declaration is here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^
# 1 error generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# | char *, size_t,
# | char *, size_t,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | int salen=0;
# | size_t hostlen=0;
# | size_t servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^
# /usr/include/netdb.h:677:12: note: previous declaration is here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^
# 1 error generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# | char *, int,
# | char *, int,
# | int);
# |
# | int main (void)
# | {
# |
# | int salen=0;
# | int hostlen=0;
# | int servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^
# /usr/include/netdb.h:677:12: note: previous declaration is here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^
# 1 error generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# | char *, int,
# | char *, int,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | int salen=0;
# | int hostlen=0;
# | int servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^
# /usr/include/netdb.h:677:12: note: previous declaration is here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^
# 1 error generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# | char *, socklen_t,
# | char *, socklen_t,
# | int);
# |
# | int main (void)
# | {
# |
# | int salen=0;
# | socklen_t hostlen=0;
# | socklen_t servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^
# /usr/include/netdb.h:677:12: note: previous declaration is here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^
# 1 error generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# | char *, socklen_t,
# | char *, socklen_t,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | int salen=0;
# | socklen_t hostlen=0;
# | socklen_t servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^
# /usr/include/netdb.h:677:12: note: previous declaration is here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^
# 1 error generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# | char *, unsigned int,
# | char *, unsigned int,
# | int);
# |
# | int main (void)
# | {
# |
# | int salen=0;
# | unsigned int hostlen=0;
# | unsigned int servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^
# /usr/include/netdb.h:677:12: note: previous declaration is here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^
# 1 error generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# | char *, unsigned int,
# | char *, unsigned int,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | int salen=0;
# | unsigned int hostlen=0;
# | unsigned int servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:204:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:205:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:205:52: error: redefinition of parameter 'DWORD'
# conftest.c:204:52: note: previous declaration is here
# char *, DWORD,
# ^
# conftest.c:212:21: error: use of undeclared identifier 'DWORD'
# DWORD hostlen=0;
# ^
# conftest.c:213:21: error: use of undeclared identifier 'DWORD'
# DWORD servlen=0;
# ^
# conftest.c:215:56: error: use of undeclared identifier 'hostlen'
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^
# conftest.c:215:68: error: use of undeclared identifier 'servlen'; did you mean 'salen'?
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^~~~~~~
# salen
# conftest.c:211:25: note: 'salen' declared here
# int salen=0;
# ^
# 2 warnings and 5 errors generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# | char *, DWORD,
# | char *, DWORD,
# | int);
# |
# | int main (void)
# | {
# |
# | int salen=0;
# | DWORD hostlen=0;
# | DWORD servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:204:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:205:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:205:52: error: redefinition of parameter 'DWORD'
# conftest.c:204:52: note: previous declaration is here
# char *, DWORD,
# ^
# conftest.c:212:21: error: use of undeclared identifier 'DWORD'
# DWORD hostlen=0;
# ^
# conftest.c:213:21: error: use of undeclared identifier 'DWORD'
# DWORD servlen=0;
# ^
# conftest.c:215:56: error: use of undeclared identifier 'hostlen'
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^
# conftest.c:215:68: error: use of undeclared identifier 'servlen'; did you mean 'salen'?
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^~~~~~~
# salen
# conftest.c:211:25: note: 'salen' declared here
# int salen=0;
# ^
# 2 warnings and 5 errors generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# | char *, DWORD,
# | char *, DWORD,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | int salen=0;
# | DWORD hostlen=0;
# | DWORD servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t,
# ^
# /usr/include/netdb.h:677:12: note: previous declaration is here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^
# 1 error generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t,
# | char *, size_t,
# | char *, size_t,
# | int);
# |
# | int main (void)
# | {
# |
# | socklen_t salen=0;
# | size_t hostlen=0;
# | size_t servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t,
# ^
# /usr/include/netdb.h:677:12: note: previous declaration is here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^
# 1 error generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t,
# | char *, size_t,
# | char *, size_t,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | socklen_t salen=0;
# | size_t hostlen=0;
# | size_t servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t,
# ^
# /usr/include/netdb.h:677:12: note: previous declaration is here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^
# 1 error generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t,
# | char *, int,
# | char *, int,
# | int);
# |
# | int main (void)
# | {
# |
# | socklen_t salen=0;
# | int hostlen=0;
# | int servlen=0;
# | int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t,
# ^
# /usr/include/netdb.h:677:12: note: previous declaration is here
# extern int getnameinfo (const struct sockaddr *__restrict __sa,
# ^
# 1 error generated.
# configure:26363: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501)
# | #undef _WIN32_WINNT
# | #define _WIN32_WINNT 0x0501
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_H
# | #include
# | #endif
# | #endif
# | #define GNICALLCONV WSAAPI
# | #else
# | #ifdef HAVE_SYS_TYPES_H
# | #include
# | #endif
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# | #ifdef HAVE_NETDB_H
# | #include
# | #endif
# | #define GNICALLCONV
# | #endif
# | extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t,
# | char *, int,
# | char *, int,
# | unsigned int);
# |
# | int main (void)
# | {
# |
# | socklen_t salen=0;
# | int hostlen=0;
# | int servlen=0;
# | unsigned int flags=0;
# | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# |
# | ;
# | return 0;
# | }
# |
# configure:26363: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:26363: $? = 0
# configure:26376: result: const struct sockaddr *,socklen_t,socklen_t,int
# configure:26458: checking whether byte ordering is bigendian
# configure:26473: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:179:9: error: unknown type name 'not'
# not a universal capable compiler
# ^
# conftest.c:179:14: error: expected ';' after top level declarator
# not a universal capable compiler
# ^
# ;
# 2 errors generated.
# configure:26473: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | #define GETNAMEINFO_TYPE_ARG2 socklen_t
# | #define GETNAMEINFO_TYPE_ARG46 socklen_t
# | #define GETNAMEINFO_TYPE_ARG7 int
# | #define GETNAMEINFO_QUAL_ARG1 const
# | #define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
# | #define HAVE_GETNAMEINFO 1
# | /* end confdefs.h. */
# | #ifndef __APPLE_CC__
# | not a universal capable compiler
# | #endif
# | typedef int dummy;
# |
# configure:26517: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# configure:26517: $? = 0
# configure:26534: clang -c -pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:184:4: error: use of undeclared identifier 'not'
# not big endian
# ^
# 1 error generated.
# configure:26534: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.10.0-unrl"
# | #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.10.0-unrl"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define CARES_SIZEOF_LONG 8
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_RECVFROM 1
# | #define RECVFROM_TYPE_ARG1 int
# | #define RECVFROM_TYPE_ARG3 size_t
# | #define RECVFROM_TYPE_ARG4 int
# | #define RECVFROM_TYPE_RETV ssize_t
# | #define RECVFROM_TYPE_ARG2 void
# | #define RECVFROM_QUAL_ARG5
# | #define RECVFROM_TYPE_ARG5 struct sockaddr
# | #define RECVFROM_TYPE_ARG6 socklen_t
# | #define RECVFROM_TYPE_ARG2_IS_VOID 1
# | #define HAVE_RECVFROM 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SEND_TYPE_ARG1 int
# | #define SEND_TYPE_ARG3 size_t
# | #define SEND_TYPE_ARG4 int
# | #define SEND_TYPE_RETV ssize_t
# | #define SEND_QUAL_ARG2 const
# | #define SEND_TYPE_ARG2 void *
# | #define HAVE_SEND 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_MSG_NOSIGNAL 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_CONNECT 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_FCNTL 1
# | #define HAVE_FCNTL_O_NONBLOCK 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_FREEADDRINFO 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_GETADDRINFO 1
# | #define HAVE_GETADDRINFO_THREADSAFE 1
# | #define HAVE_GETENV 1
# | #define HAVE_GETHOSTBYADDR 1
# | #define HAVE_GETHOSTBYNAME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define GETHOSTNAME_TYPE_ARG2 size_t
# | #define HAVE_GETHOSTNAME 1
# | #define HAVE_GETSERVBYPORT_R 1
# | #define GETSERVBYPORT_R_ARGS 6
# | #define GETSERVBYPORT_R_BUFSIZE 4096
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define HAVE_INET_NTOP 1
# | #define HAVE_INET_PTON 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_STROPTS_H 1
# | #define HAVE_IOCTL 1
# | #define HAVE_IOCTL_FIONBIO 1
# | #define HAVE_IOCTL_SIOCGIFADDR 1
# | #define HAVE_SETSOCKOPT 1
# | #define HAVE_SOCKET 1
# | #define HAVE_STRCASECMP 1
# | #define HAVE_STRDUP 1
# | #define HAVE_STRNCASECMP 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_WRITEV 1
# | #define HAVE_PF_INET6 1
# | #define HAVE_AF_INET6 1
# | #define HAVE_STRUCT_IN6_ADDR 1
# | #define HAVE_STRUCT_SOCKADDR_IN6 1
# | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# | #define HAVE_STRUCT_ADDRINFO 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_IF_INDEXTONAME 1
# | #define SIZEOF_STRUCT_IN6_ADDR 16
# | #define SIZEOF_STRUCT_IN_ADDR 4
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_NETDB_H 1
# | #define GETNAMEINFO_TYPE_ARG2 socklen_t
# | #define GETNAMEINFO_TYPE_ARG46 socklen_t
# | #define GETNAMEINFO_TYPE_ARG7 int
# | #define GETNAMEINFO_QUAL_ARG1 const
# | #define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
# | #define HAVE_GETNAMEINFO 1
# | /* end confdefs.h. */
# | #include
# | #include
# |
# | int main (void)
# | {
# | #if BYTE_ORDER != BIG_ENDIAN
# | not big endian
# | #endif
# |
# | ;
# | return 0;
# | }
# configure:26658: result: no
# configure:26687: checking for "/dev/urandom"
# configure:26701: result: yes
# configure:26726: checking whether to enable non-blocking communications
# configure:26745: result: yes
# configure:26752: checking how to set a socket into non-blocking mode
# configure:26765: result: fcntl O_NONBLOCK
# configure:26784: checking whether hiding of library internal symbols will actually happen
# configure:26798: result: yes
# configure:26998: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by c-ares config.status 1.10.0-unrl, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on 69347dba162c
#
# config.status:1251: creating Makefile
# config.status:1251: creating libcares.pc
# config.status:1251: creating ares_config.h
# config.status:1251: creating ares_build.h
# config.status:1480: executing depfiles commands
# config.status:1480: executing libtool commands
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-linux-gnu
# ac_cv_c_bigendian=no
# ac_cv_c_compiler_gnu=yes
# ac_cv_c_const=yes
# ac_cv_env_CC_set=set
# ac_cv_env_CC_value=clang
# ac_cv_env_CFLAGS_set=set
# ac_cv_env_CFLAGS_value='-pipe -funsigned-char -Wl,-export-dynamic'
# ac_cv_env_CPPFLAGS_set=set
# ac_cv_env_CPPFLAGS_value=
# ac_cv_env_CPP_set=
# ac_cv_env_CPP_value=
# ac_cv_env_LDFLAGS_set=set
# ac_cv_env_LDFLAGS_value=
# ac_cv_env_LIBS_set=
# ac_cv_env_LIBS_value=
# ac_cv_env_build_alias_set=
# ac_cv_env_build_alias_value=
# ac_cv_env_host_alias_set=
# ac_cv_env_host_alias_value=
# ac_cv_env_target_alias_set=
# ac_cv_env_target_alias_value=
# ac_cv_file__dev_urandom=yes
# ac_cv_func_bitncmp=no
# ac_cv_func_clock_gettime=yes
# ac_cv_func_closesocket=no
# ac_cv_func_closesocket_camel=no
# ac_cv_func_connect=yes
# ac_cv_func_fcntl=yes
# ac_cv_func_fcntl_o_nonblock=yes
# ac_cv_func_freeaddrinfo=yes
# ac_cv_func_getaddrinfo=yes
# ac_cv_func_getaddrinfo_threadsafe=yes
# ac_cv_func_getenv=yes
# ac_cv_func_gethostbyaddr=yes
# ac_cv_func_gethostbyname=yes
# ac_cv_func_gethostname=yes
# ac_cv_func_getnameinfo=yes
# ac_cv_func_getservbyport_r=yes
# ac_cv_func_gettimeofday=yes
# ac_cv_func_if_indextoname=yes
# ac_cv_func_inet_net_pton=no
# ac_cv_func_inet_ntop=yes
# ac_cv_func_inet_pton=yes
# ac_cv_func_ioctl=yes
# ac_cv_func_ioctl_fionbio=yes
# ac_cv_func_ioctl_siocgifaddr=yes
# ac_cv_func_ioctlsocket=no
# ac_cv_func_ioctlsocket_camel=no
# ac_cv_func_recv=yes
# ac_cv_func_recvfrom=yes
# ac_cv_func_send=yes
# ac_cv_func_setsockopt=yes
# ac_cv_func_setsockopt_so_nonblock=no
# ac_cv_func_socket=yes
# ac_cv_func_strcasecmp=yes
# ac_cv_func_strcmpi=no
# ac_cv_func_strdup=yes
# ac_cv_func_stricmp=no
# ac_cv_func_strncasecmp=yes
# ac_cv_func_strncmpi=no
# ac_cv_func_strnicmp=no
# ac_cv_func_writev=yes
# ac_cv_header_arpa_inet_h=yes
# ac_cv_header_arpa_nameser_compat_h=yes
# ac_cv_header_arpa_nameser_h=yes
# ac_cv_header_assert_h=yes
# ac_cv_header_dlfcn_h=yes
# ac_cv_header_errno_h=yes
# ac_cv_header_fcntl_h=yes
# ac_cv_header_inttypes_h=yes
# ac_cv_header_limits_h=yes
# ac_cv_header_malloc_h=yes
# ac_cv_header_memory_h=yes
# ac_cv_header_net_if_h=yes
# ac_cv_header_netdb_h=yes
# ac_cv_header_netinet_in_h=yes
# ac_cv_header_netinet_tcp_h=yes
# ac_cv_header_signal_h=yes
# ac_cv_header_socket_h=no
# ac_cv_header_stdbool_h=yes
# ac_cv_header_stdc=yes
# ac_cv_header_stdint_h=yes
# ac_cv_header_stdlib_h=yes
# ac_cv_header_string_h=yes
# ac_cv_header_strings_h=yes
# ac_cv_header_stropts_h=yes
# ac_cv_header_sys_ioctl_h=yes
# ac_cv_header_sys_param_h=yes
# ac_cv_header_sys_select_h=yes
# ac_cv_header_sys_socket_h=yes
# ac_cv_header_sys_stat_h=yes
# ac_cv_header_sys_time_h=yes
# ac_cv_header_sys_types_h=yes
# ac_cv_header_sys_uio_h=yes
# ac_cv_header_time=yes
# ac_cv_header_time_h=yes
# ac_cv_header_unistd_h=yes
# ac_cv_header_windows_h=no
# ac_cv_header_winsock2_h=no
# ac_cv_header_winsock_h=no
# ac_cv_header_ws2tcpip_h=no
# ac_cv_host=x86_64-unknown-linux-gnu
# ac_cv_member_struct_addrinfo_ai_flags=yes
# ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
# ac_cv_msg_nosignal=yes
# ac_cv_native_windows=no
# ac_cv_objext=o
# ac_cv_path_EGREP='/usr/bin/grep -E'
# ac_cv_path_FGREP='/usr/bin/grep -F'
# ac_cv_path_GREP=/usr/bin/grep
# ac_cv_path_SED=/usr/bin/sed
# ac_cv_path_ac_pt_AR=/usr/bin/ar
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_path_mkdir=/usr/bin/mkdir
# ac_cv_prog_AWK=gawk
# ac_cv_prog_CPP='clang -E'
# ac_cv_prog_ac_ct_CC=clang
# ac_cv_prog_ac_ct_OBJDUMP=objdump
# ac_cv_prog_ac_ct_RANLIB=ranlib
# ac_cv_prog_ac_ct_STRIP=strip
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_clang_c_o=yes
# ac_cv_prog_cc_g=yes
# ac_cv_prog_make_make_set=yes
# ac_cv_sig_atomic_t_volatile=no
# ac_cv_sizeof_int=4
# ac_cv_sizeof_long=8
# ac_cv_sizeof_short=2
# ac_cv_sizeof_size_t=8
# ac_cv_sizeof_struct_in6_addr=16
# ac_cv_sizeof_struct_in_addr=4
# ac_cv_sizeof_time_t=8
# ac_cv_struct_timeval=yes
# ac_cv_sys_file_offset_bits=no
# ac_cv_sys_largefile_CC=no
# ac_cv_type_bool=yes
# ac_cv_type_in_addr_t=yes
# ac_cv_type_long_long=yes
# ac_cv_type_sig_atomic_t=yes
# ac_cv_type_signal=void
# ac_cv_type_size_t=yes
# ac_cv_type_ssize_t=yes
# ac_cv_type_struct_sockaddr_storage=yes
# am_cv_CC_dependencies_compiler_type=gcc3
# curl_cv_def___GNUC__=4
# curl_cv_def___clang__=1
# curl_cv_func_getnameinfo_args='const struct sockaddr *,socklen_t,socklen_t,int'
# curl_cv_func_recv_args='int,void *,size_t,int,ssize_t'
# curl_cv_func_recvfrom_args='int,void *,size_t,int,struct sockaddr *,socklen_t *,ssize_t'
# curl_cv_func_send_args='int,const void *,size_t,int,ssize_t'
# curl_cv_gclk_LIBS=
# curl_cv_getnameinfo=yes
# curl_cv_have_def__COMPILER_VERSION=no
# curl_cv_have_def__SGI_COMPILER_VERSION=no
# curl_cv_have_def___DECC=no
# curl_cv_have_def___DECC_VER=no
# curl_cv_have_def___GNUC__=yes
# curl_cv_have_def___HP_cc=no
# curl_cv_have_def___IBMC__=no
# curl_cv_have_def___INTEL_COMPILER=no
# curl_cv_have_def___LCC__=no
# curl_cv_have_def___SUNPRO_C=no
# curl_cv_have_def___TINYC__=no
# curl_cv_have_def___WATCOMC__=no
# curl_cv_have_def___clang__=yes
# curl_cv_have_def___sgi=no
# curl_cv_have_def_h_errno=yes
# curl_cv_need_header_malloc_h=no
# curl_cv_need_header_memory_h=no
# curl_cv_recv=yes
# curl_cv_recvfrom=yes
# curl_cv_save_LIBS=
# curl_cv_send=yes
# lt_cv_ar_at_file=@
# lt_cv_deplibs_check_method=pass_all
# lt_cv_file_magic_cmd='$MAGIC_CMD'
# lt_cv_file_magic_test_file=
# lt_cv_ld_reload_flag=-r
# lt_cv_nm_interface='BSD nm'
# lt_cv_objdir=.libs
# lt_cv_path_LD=/usr/bin/ld
# lt_cv_path_NM='/usr/bin/nm -B'
# lt_cv_path_mainfest_tool=no
# lt_cv_prog_compiler_c_o=yes
# lt_cv_prog_compiler_pic='-fPIC -DPIC'
# lt_cv_prog_compiler_pic_works=yes
# lt_cv_prog_compiler_rtti_exceptions=yes
# lt_cv_prog_compiler_static_works=no
# lt_cv_prog_gnu_ld=yes
# lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
# lt_cv_shlibpath_overrides_runpath=no
# lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
# lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
# lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
# lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
# lt_cv_sys_max_cmd_len=1572864
# lt_cv_to_host_file_cmd=func_convert_file_noop
# lt_cv_to_tool_file_cmd=func_convert_file_noop
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares-1.10.0/missing --run aclocal-1.11'
# AMDEPBACKSLASH='\'
# AMDEP_FALSE='#'
# AMDEP_TRUE=''
# AMTAR='$${TAR-tar}'
# AR='/usr/bin/ar'
# AS='as'
# AUTOCONF='${SHELL} /tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares-1.10.0/missing --run autoconf'
# AUTOHEADER='${SHELL} /tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares-1.10.0/missing --run autoheader'
# AUTOMAKE='${SHELL} /tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares-1.10.0/missing --run automake-1.11'
# AWK='gawk'
# CARES_CFLAG_EXTRAS=''
# CARES_LT_SHLIB_USE_MIMPURE_TEXT_FALSE=''
# CARES_LT_SHLIB_USE_MIMPURE_TEXT_TRUE='#'
# CARES_LT_SHLIB_USE_NO_UNDEFINED_FALSE=''
# CARES_LT_SHLIB_USE_NO_UNDEFINED_TRUE='#'
# CARES_LT_SHLIB_USE_VERSION_INFO_FALSE='#'
# CARES_LT_SHLIB_USE_VERSION_INFO_TRUE=''
# CARES_PRIVATE_LIBS=''
# CC='clang'
# CCDEPMODE='depmode=gcc3'
# CFLAGS='-pipe -funsigned-char -Wl,-export-dynamic -Qunused-arguments -g0 -Os'
# CFLAG_CARES_SYMBOL_HIDING='-fvisibility=hidden'
# CPP='clang -E'
# CPPFLAGS=''
# CPPFLAG_CARES_STATICLIB='-DCARES_STATICLIB'
# CURLDEBUG_FALSE=''
# CURLDEBUG_TRUE='#'
# CYGPATH_W='echo'
# DEFS='-DHAVE_CONFIG_H'
# DEPDIR='.deps'
# DLLTOOL='false'
# DOING_CARES_SYMBOL_HIDING_FALSE='#'
# DOING_CARES_SYMBOL_HIDING_TRUE=''
# DOING_NATIVE_WINDOWS_FALSE=''
# DOING_NATIVE_WINDOWS_TRUE='#'
# DSYMUTIL=''
# DUMPBIN=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='/usr/bin/grep -E'
# EXEEXT=''
# FGREP='/usr/bin/grep -F'
# GREP='/usr/bin/grep'
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# LD='/usr/bin/ld -m elf_x86_64'
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LIBTOOL='$(SHELL) $(top_builddir)/libtool'
# LIPO=''
# LN_S='ln -s'
# LTLIBOBJS=''
# MAINT='#'
# MAINTAINER_MODE_FALSE=''
# MAINTAINER_MODE_TRUE='#'
# MAKEINFO='${SHELL} /tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares-1.10.0/missing --run makeinfo'
# MANIFEST_TOOL=':'
# MKDIR_P='/usr/bin/mkdir -p'
# NM='/usr/bin/nm -B'
# NMEDIT=''
# OBJDUMP='objdump'
# OBJEXT='o'
# OTOOL64=''
# OTOOL=''
# PACKAGE='c-ares'
# PACKAGE_BUGREPORT='c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares'
# PACKAGE_NAME='c-ares'
# PACKAGE_STRING='c-ares 1.10.0-unrl'
# PACKAGE_TARNAME='c-ares'
# PACKAGE_URL=''
# PACKAGE_VERSION='1.10.0-unrl'
# PATH_SEPARATOR=':'
# RANDOM_FILE='/dev/urandom'
# RANLIB='ranlib'
# SED='/usr/bin/sed'
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='strip'
# USE_CPPFLAG_CARES_STATICLIB_FALSE='#'
# USE_CPPFLAG_CARES_STATICLIB_TRUE=''
# VERSION='1.10.0-unrl'
# ac_ct_AR=''
# ac_ct_CC='clang'
# ac_ct_DUMPBIN=''
# am__EXEEXT_FALSE=''
# am__EXEEXT_TRUE='#'
# am__fastdepCC_FALSE='#'
# am__fastdepCC_TRUE=''
# am__include='include'
# am__isrc=''
# am__leading_dot='.'
# am__nodep='_no'
# am__quote=''
# am__tar='$${TAR-tar} chof - "$$tardir"'
# am__untar='$${TAR-tar} xf -'
# bindir='${exec_prefix}/bin'
# build='x86_64-unknown-linux-gnu'
# build_alias=''
# build_cpu='x86_64'
# build_os='linux-gnu'
# build_vendor='unknown'
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# dvidir='${docdir}'
# exec_prefix='${prefix}'
# host='x86_64-unknown-linux-gnu'
# host_alias=''
# host_cpu='x86_64'
# host_os='linux-gnu'
# host_vendor='unknown'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# install_sh='${SHELL} /tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares-1.10.0/install-sh'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/man'
# mkdir_p='/usr/bin/mkdir -p'
# oldincludedir='/usr/include'
# pdfdir='${docdir}'
# prefix='/tmp/unrealircd/src/unrealircd-4.0.4/extras/c-ares'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "c-ares"
# #define PACKAGE_TARNAME "c-ares"
# #define PACKAGE_VERSION "1.10.0-unrl"
# #define PACKAGE_STRING "c-ares 1.10.0-unrl"
# #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# #define PACKAGE_URL ""
# #define OS "x86_64-unknown-linux-gnu"
# #define PACKAGE "c-ares"
# #define VERSION "1.10.0-unrl"
# #define STDC_HEADERS 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_STAT_H 1
# #define HAVE_STDLIB_H 1
# #define HAVE_STRING_H 1
# #define HAVE_MEMORY_H 1
# #define HAVE_STRINGS_H 1
# #define HAVE_INTTYPES_H 1
# #define HAVE_STDINT_H 1
# #define HAVE_UNISTD_H 1
# #define HAVE_DLFCN_H 1
# #define LT_OBJDIR ".libs/"
# #define TIME_WITH_SYS_TIME 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_TIME_H 1
# #define HAVE_TIME_H 1
# #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# #define STDC_HEADERS 1
# #define HAVE_MALLOC_H 1
# #define HAVE_MEMORY_H 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_TIME_H 1
# #define HAVE_SYS_SELECT_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define HAVE_SYS_IOCTL_H 1
# #define HAVE_SYS_PARAM_H 1
# #define HAVE_SYS_UIO_H 1
# #define HAVE_ASSERT_H 1
# #define HAVE_NETDB_H 1
# #define HAVE_NETINET_IN_H 1
# #define HAVE_NETINET_TCP_H 1
# #define HAVE_NET_IF_H 1
# #define HAVE_ERRNO_H 1
# #define HAVE_STRINGS_H 1
# #define HAVE_STDBOOL_H 1
# #define HAVE_TIME_H 1
# #define HAVE_LIMITS_H 1
# #define HAVE_ARPA_NAMESER_H 1
# #define HAVE_ARPA_NAMESER_COMPAT_H 1
# #define HAVE_ARPA_INET_H 1
# #define TIME_WITH_SYS_TIME 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_TIME_H 1
# #define HAVE_TIME_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define HAVE_STRUCT_TIMEVAL 1
# #define SIZEOF_SIZE_T 8
# #define SIZEOF_LONG 8
# #define SIZEOF_INT 4
# #define SIZEOF_SHORT 2
# #define CARES_SIZEOF_LONG 8
# #define SIZEOF_TIME_T 8
# #define HAVE_LONGLONG 1
# #define HAVE_LL 1
# #define HAVE_BOOL_T 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define CARES_PULL_SYS_TYPES_H 1
# #define CARES_PULL_SYS_SOCKET_H 1
# #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# #define HAVE_SIGNAL_H 1
# #define HAVE_SIG_ATOMIC_T 1
# #define RETSIGTYPE void
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define RECV_TYPE_ARG1 int
# #define RECV_TYPE_ARG2 void *
# #define RECV_TYPE_ARG3 size_t
# #define RECV_TYPE_ARG4 int
# #define RECV_TYPE_RETV ssize_t
# #define HAVE_RECV 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define HAVE_RECVFROM 1
# #define RECVFROM_TYPE_ARG1 int
# #define RECVFROM_TYPE_ARG3 size_t
# #define RECVFROM_TYPE_ARG4 int
# #define RECVFROM_TYPE_RETV ssize_t
# #define RECVFROM_TYPE_ARG2 void
# #define RECVFROM_QUAL_ARG5
# #define RECVFROM_TYPE_ARG5 struct sockaddr
# #define RECVFROM_TYPE_ARG6 socklen_t
# #define RECVFROM_TYPE_ARG2_IS_VOID 1
# #define HAVE_RECVFROM 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define SEND_TYPE_ARG1 int
# #define SEND_TYPE_ARG3 size_t
# #define SEND_TYPE_ARG4 int
# #define SEND_TYPE_RETV ssize_t
# #define SEND_QUAL_ARG2 const
# #define SEND_TYPE_ARG2 void *
# #define HAVE_SEND 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define HAVE_MSG_NOSIGNAL 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_CONNECT 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_UNISTD_H 1
# #define HAVE_FCNTL_H 1
# #define HAVE_FCNTL 1
# #define HAVE_FCNTL_O_NONBLOCK 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_NETDB_H 1
# #define HAVE_FREEADDRINFO 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_STDLIB_H 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_STRING_H 1
# #define HAVE_STRINGS_H 1
# #define HAVE_GETADDRINFO 1
# #define HAVE_GETADDRINFO_THREADSAFE 1
# #define HAVE_GETENV 1
# #define HAVE_GETHOSTBYADDR 1
# #define HAVE_GETHOSTBYNAME 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_UNISTD_H 1
# #define GETHOSTNAME_TYPE_ARG2 size_t
# #define HAVE_GETHOSTNAME 1
# #define HAVE_GETSERVBYPORT_R 1
# #define GETSERVBYPORT_R_ARGS 6
# #define GETSERVBYPORT_R_BUFSIZE 4096
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define HAVE_NETINET_IN_H 1
# #define HAVE_ARPA_INET_H 1
# #define HAVE_INET_NTOP 1
# #define HAVE_INET_PTON 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_UNISTD_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define HAVE_SYS_IOCTL_H 1
# #define HAVE_STROPTS_H 1
# #define HAVE_IOCTL 1
# #define HAVE_IOCTL_FIONBIO 1
# #define HAVE_IOCTL_SIOCGIFADDR 1
# #define HAVE_SETSOCKOPT 1
# #define HAVE_SOCKET 1
# #define HAVE_STRCASECMP 1
# #define HAVE_STRDUP 1
# #define HAVE_STRNCASECMP 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_UIO_H 1
# #define HAVE_WRITEV 1
# #define HAVE_PF_INET6 1
# #define HAVE_AF_INET6 1
# #define HAVE_STRUCT_IN6_ADDR 1
# #define HAVE_STRUCT_SOCKADDR_IN6 1
# #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
# #define HAVE_STRUCT_ADDRINFO 1
# #define HAVE_GETTIMEOFDAY 1
# #define HAVE_IF_INDEXTONAME 1
# #define SIZEOF_STRUCT_IN6_ADDR 16
# #define SIZEOF_STRUCT_IN_ADDR 4
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define HAVE_NETDB_H 1
# #define GETNAMEINFO_TYPE_ARG2 socklen_t
# #define GETNAMEINFO_TYPE_ARG46 socklen_t
# #define GETNAMEINFO_TYPE_ARG7 int
# #define GETNAMEINFO_QUAL_ARG1 const
# #define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
# #define HAVE_GETNAMEINFO 1
# #define RANDOM_FILE "/dev/urandom"
# #define CARES_SYMBOL_SCOPE_EXTERN __attribute__ ((__visibility__ ("default")))
#
# configure: exit 0